package.json 1.1 KB
Newer Older
E
Erich Gamma 已提交
1 2
{
	"name": "cpp",
S
Sandeep Somavarapu 已提交
3 4
	"displayName": "%displayName%",
	"description": "%description%",
5
	"version": "1.0.0",
E
Erich Gamma 已提交
6
	"publisher": "vscode",
7
	"license": "MIT",
E
Erich Gamma 已提交
8
	"engines": { "vscode": "*" },
9
	"scripts": {
M
Martin Aeschlimann 已提交
10
		"update-grammar": "node ./build/update-grammars.js"
11
	},
E
Erich Gamma 已提交
12 13 14
	"contributes": {
		"languages": [{
			"id": "c",
J
Johannes Rieken 已提交
15
			"extensions": [ ".c"],
E
Erich Gamma 已提交
16
			"aliases": [ "C", "c" ],
17
			"configuration": "./language-configuration.json"
E
Erich Gamma 已提交
18 19 20
		},
		{
			"id": "cpp",
21
			"extensions": [ ".cpp", ".cc", ".cxx", ".hpp", ".hh", ".hxx", ".h", ".ino", ".inl", ".ipp", ".hpp.in", ".h.in" ],
E
Erich Gamma 已提交
22
			"aliases": [ "C++", "Cpp", "cpp"],
23
			"configuration": "./language-configuration.json"
E
Erich Gamma 已提交
24 25 26 27
		}],
		"grammars": [{
			"language": "c",
			"scopeName": "source.c",
M
Martin Aeschlimann 已提交
28
			"path": "./syntaxes/c.tmLanguage.json"
E
Erich Gamma 已提交
29 30 31
		},
		{
			"language": "cpp",
32
			"scopeName": "source.cpp",
M
Martin Aeschlimann 已提交
33
			"path": "./syntaxes/cpp.tmLanguage.json"
34 35 36
		},
		{
			"scopeName": "source.c.platform",
M
Martin Aeschlimann 已提交
37
			"path": "./syntaxes/platform.tmLanguage.json"
38 39 40 41 42 43 44 45
		}],
		"snippets": [{
			"language": "c",
			"path": "./snippets/c.json"
		},
		{
			"language": "cpp",
			"path": "./snippets/cpp.json"
E
Erich Gamma 已提交
46 47 48
		}]
	}
}