package.json
4.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "vscode-clangd",
"displayName": "vscode-clangd",
"description": "Clang Language Server",
"version": "0.0.19",
"publisher": "llvm-vs-code-extensions",
"homepage": "https://clang.llvm.org/extra/clangd.html",
"engines": {
"vscode": "^1.36.0"
},
"categories": [
"Programming Languages",
"Linters",
"Snippets"
],
"keywords": [
"C",
"C++",
"LSP",
"Clangd",
"LLVM"
],
"activationEvents": [
"onLanguage:c",
"onLanguage:cpp",
"onLanguage:cuda",
"onLanguage:objective-c",
"onLanguage:objective-cpp",
"onCommand:clangd-vscode.activate"
],
"main": "./out/src/extension",
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"format": "clang-format --style=LLVM -i --glob=\"{src,test}/*.ts\"",
"test": "node ./node_modules/vscode/bin/test",
"package": "vsce package --baseImagesUrl https://raw.githubusercontent.com/llvm/llvm-project/master/clang-tools-extra/clangd/clients/clangd-vscode/",
"publish": "vsce publish --baseImagesUrl https://raw.githubusercontent.com/llvm/llvm-project/master/clang-tools-extra/clangd/clients/clangd-vscode/"
},
"dependencies": {
"jsonc-parser": "^2.1.0",
"vscode-languageclient": "^6.0.0-next.1",
"vscode-languageserver": "^6.0.0-next.1",
"vscode-languageserver-types": "^3.15.0-next.5"
},
"devDependencies": {
"@types/mocha": "^2.2.32",
"@types/node": "^6.0.40",
"clang-format": "1.2.4",
"mocha": "^5.2.0",
"typescript": "^2.0.3",
"vscode": "^1.1.0"
},
"repository": {
"type": "svn",
"url": "http://llvm.org/svn/llvm-project/clang-tools-extra/trunk/clangd/clients/clangd-vscode/"
},
"contributes": {
"languages": [
{
"id": "cpp",
"filenamePatterns": [
"**/include/c++/**",
"**/MSVC/*/include/**"
],
"firstLine": "^/[/*].*-\\*-\\s*C\\+\\+\\s*-\\*-.*"
},
{
"id": "cuda",
"extensions": [
".cu",
".cuh"
]
}
],
"configuration": {
"type": "object",
"title": "clangd configuration",
"properties": {
"clangd.path": {
"type": "string",
"default": "clangd",
"description": "The path to clangd executable, e.g.: /usr/bin/clangd"
},
"clangd.arguments": {
"type": "array",
"default": [],
"items": {
"type": "string"
},
"description": "Arguments for clangd server"
},
"clangd.syncFileEvents": {
"type": "boolean",
"default": true,
"description": "Whether or not to send file events to clangd (File created, changed or deleted). This can be disabled for performance consideration."
},
"clangd.trace": {
"type": "string",
"description": "Names a file that clangd should log a performance trace to, in chrome trace-viewer JSON format."
},
"clangd.semanticHighlighting": {
"type": "boolean",
"default": "true",
"description": "Enable semantic highlighting in clangd"
}
}
},
"commands": [
{
"command": "clangd-vscode.switchheadersource",
"title": "Switch between Source/Header"
},
{
"command": "clangd-vscode.activate",
"title": "Manually activate clangd extension"
}
],
"keybindings": [
{
"command": "clangd-vscode.switchheadersource",
"key": "Alt+o",
"mac": "Alt+cmd+o",
"when": "editorTextFocus"
}
]
}
}