summaryrefslogtreecommitdiffstats
path: root/clangd/clients/clangd-vscode/package.json
blob: a8cb158aed0179b0b8d042e9734188d89fb30c6e (plain)
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
{
    "name": "vscode-clangd",
    "displayName": "vscode-clangd",
    "description": "Clang Language Server",
    "version": "0.0.6",
    "publisher": "llvm-vs-code-extensions",
    "homepage": "https://clang.llvm.org/extra/clangd.html",
    "engines": {
        "vscode": "^1.18.0"
    },
    "categories": [
        "Languages",
        "Linters",
        "Snippets"
    ],
    "keywords": [
        "C",
        "C++",
        "LSP",
        "Clangd",
        "LLVM"
    ],
    "activationEvents": [
        "onLanguage:cpp",
        "onLanguage:c"
    ],
    "main": "./out/src/extension",
    "scripts": {
        "vscode:prepublish": "tsc -p ./",
        "compile": "tsc -watch -p ./",
        "postinstall": "node ./node_modules/vscode/bin/install",
        "test": "node ./node_modules/vscode/bin/test"
    },
    "dependencies": {
        "vscode-languageclient": "^4.0.0",
        "vscode-languageserver": "^4.0.0"
    },
    "devDependencies": {
        "typescript": "^2.0.3",
        "vscode": "^1.1.0",
        "mocha": "^2.3.3",
        "@types/node": "^6.0.40",
        "@types/mocha": "^2.2.32"
    },
    "repository": {
        "type": "svn",
        "url": "http://llvm.org/svn/llvm-project/clang-tools-extra/trunk/clangd/clients/clangd-vscode/"
    },
    "contributes": {
        "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."
                }
            }
        }
    }
}