vscode/extensions/make/package.json
Ryan Zoeller d465e988f1
Register .mak extension for the Make language (#122614)
Associate the .mak extension with the Make language. This extension is commonly used for files included by Makefiles, and is recognized by GitHub's language detection: 32ec19c013/lib/linguist/languages.yml (L3282).

This PR fixes #122613.

Tested change by created a file with the .mak extension, and opening it in VS Code. The Language Mode was automatically set to 'Makefile'.
2021-05-03 16:03:05 +02:00

57 lines
1.2 KiB
JSON

{
"name": "make",
"displayName": "%displayName%",
"description": "%description%",
"version": "1.0.0",
"publisher": "vscode",
"license": "MIT",
"engines": {
"vscode": "*"
},
"scripts": {
"update-grammar": "node ../node_modules/vscode-grammar-updater/bin fadeevab/make.tmbundle Syntaxes/Makefile.plist ./syntaxes/make.tmLanguage.json"
},
"contributes": {
"languages": [
{
"id": "makefile",
"aliases": [
"Makefile",
"makefile"
],
"extensions": [
".mak",
".mk"
],
"filenames": [
"Makefile",
"makefile",
"GNUmakefile",
"OCamlMakefile"
],
"firstLine": "^#!\\s*/usr/bin/make",
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "makefile",
"scopeName": "source.makefile",
"path": "./syntaxes/make.tmLanguage.json",
"tokenTypes": {
"string.interpolated": "other"
}
}
],
"configurationDefaults": {
"[makefile]": {
"editor.insertSpaces": false
}
}
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode.git"
}
}