💥 WARNING From version 1.21, Visual Studio Code now has a builtin extension to support Makefiles (see this folder). Don't use my extension!
Install this extension to have syntax support for GNU Makefiles for Visual Studio Code.
With the VSCode extension market. Launch VS Code Quick Open (Ctrl+P
), paste the following command, and press enter:
ext install makefiles-support-for-vscode
(or look for "Makefile" in the extension list, mine is the first one.)
More details can be found on the marketplace website, or on GitHub.
And the installation can also be done manually:
cd ~/.vscode/extensions # or elsewhere, see https://code.visualstudio.com/docs/extensions/yocode#_your-extensions-folder
git clone https://github.com/Naereen/Makefiles-support-for-VSCode/
mv Makefiles-support-for-VSCode makefiles-support-for-vscode-0.0.1
# restart Visual Studio Code to enable the extension
- Syntax support for Makefile.
- Comment or uncomment one or more line with the default comment shortcut.
No requirements. (Probably a VSCode version more recent that 1.0 ? I have v1.17).
No settings.
See the bug tracker for a list of open issues. Please fill a new issue if you find a bug!
- Added badge, and check that the extension can be uninstalled and reinstalled with success on another laptop.
- Better README.md file.
- First version, directly imported from TextMate language file from a SublimeText3 extension (Makefile-plus). I used
yo code
.
- Embed checkmake as a linting tool.
- Write a magical generic
.vscode/launch.json
file that adds any Makefile rule as a possible launch task (like this extension for ST3).
MIT Licensed (file LICENSE). © Lilian Besson, 2017.