microsoft / microsoft/vscode-makefile-tools
Run multiple build targets from multiple files
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 242
- Forks
- 78
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I have been using the vscode makefile extension on linux with great results, however I would like to request a feature.
I have a main file called Makefile which builds my targets, for example "all debug clean"
I also have a file called buildsettings.mk which is another makefile which is included in the primary makefile, which offers additional targets, for example "pc laptop".
I would like to set the default make configuration in the side panel to: make all laptop
There are two current issues with this:
- I cannot see how to set multiple targets
- The targets from the included makefile (buildsettings.mk) do not appear in the drop down suggestions
I would suggest both of these issues could be fixed with a new option in the dropdown box called "custom" which the user can enter any text of their choice which will be run on the command line, for example "all laptop" for my case.
Many thanks in advance for any help you can give me with this issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the Makefile Tools side panel and its make-configuration dropdown; the issue identifies Makefile and buildsettings.mk as the relevant inputs. Trace how targets are discovered and how the selected configuration is assembled, then verify that a custom value can run multiple targets such as "all laptop" and that targets from the included file appear in suggestions.
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