microsoft / microsoft/vscode-makefile-tools

[feature request] Goto line number when clicking error in Makefile Tools Terminal

Open
#376 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Feature: Build
Dominant language
TypeScript
Stars
242
Forks
78
PR merge metrics
No merged PRs in 30d

Description

Would be great if you could click the error to go to the affected line when reported by the Makefile Tools Terminal window.

src/gui.c:433:33: warning: implicit declaration of function 'k_layout_row_dynamic'; did you mean 'nk_layout_row_dynamic'? [-Wimplicit-function-declaration]
  433 |                                 k_layout_row_dynamic(ctx, 46, 1);
      |                                 ^~~~~~~~~~~~~~~~~~~~
      |                                 nk_layout_row_dynamic

I am fully aware, that this is compiler specific, not Makefile specific. However, AFAIK [file name]:[line number]:[column number] is fairly standard.
This terminal is spawned by Makefile Tools, as I understand it, so I guess it's something this extension would have to implement.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Makefile Tools Terminal integration and how it currently handles compiler output; the issue does not name specific files or tests. Determine where file:line:column diagnostics can be recognized and linked, then verify that clicking the example warning opens src/gui.c at line 433 and column 33.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.