microsoft / microsoft/vscode-makefile-tools

Language Service: Goto definition support for makefile targets

Open
#208 2 comments 11 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Feature: Language Service help wanted
Dominant language
TypeScript
Stars
242
Forks
78
PR merge metrics
No merged PRs in 30d

Description

If I have a makefile like

main: sub1 sub2 sub3
    mangle sub1,sub2,sub2 into main

sub1: this
    generate sub1 from this

sub2: that
    generate sub2 from that

sub3: other
    generate sub3 from other

then I'd like to be able to control-click (Windows) on "sub1" in the dependency list for "main" and jump to the "sub1: this" line, and similarly for other dependencies.

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

No file or test is named. Start by tracing the Makefile language-service handling for dependency lists, using the issue's main/sub1 example; done means control-clicking a dependency such as "sub1" opens its target definition, such as "sub1: this".

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools
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.