Makefiles support for VSCode
:boom: 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.
Installation
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
Features and demo
- Syntax support for Makefile.
- Comment or uncomment one or more line with the default comment shortcut.
Requirements
No requirements. (Probably a VSCode version more recent that 1.0 ? I have v1.17).
Extension Settings
No settings.
Known Issues
See the bug tracker for a list of open issues. Please fill a new issue if you find a bug!
Release Notes
0.0.3
- Added badge, and check that the extension can be uninstalled and reinstalled with success on another laptop.
0.0.2
- Better README.md file.
0.0.1
- First version, directly imported from TextMate language file from a SublimeText3 extension (Makefile-plus). I used
yo code
.
TODO task
- 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).
:scroll: License ? 
MIT Licensed (file LICENSE). © Lilian Besson, 2017.