This extension allows you to run a Makefile target from within the
editor by clicking above the target. It will execute the following command in the terminal:
cd ${makefileDir} && make -f ${filename} ${target}makefileDir- the directory of the Makefile that is being editedfilename- file where you clicked the TARGETtarget- the text found using the following logic:- any line starting with an alphabeticnumeric string followed by a colon and not including
=
- any line starting with an alphabeticnumeric string followed by a colon and not including
- Tested on vscode 1.72.2
See package.json for available settings.
- vscode-makefile-term.enabled
- Can increase performance with a cache
- Can make extension more adaptable by allowing changing configurable:
- command that is execute
- text that is displayed above target
- initial working functionality
- target with
=are ignored - make uses -f to specify filename
- minor text corrections
- added keybidining to run again (Ctrl+Shift+x by default)
- ignore lines with
=as cannot be target
- Bumping version, extension is getting stable
- Support for makefile in directory with spaces in path
- Updated code formatting
- Change command to use
&&instead of;
Feedback and pull requests are welcomed.
Ensure that you've read through the extensions guidelines and follow the best practices for creating extensions.
