{
    "name": "vscode-clangd",
    "displayName": "vscode-clangd",
    "description": "Clang Language Server",
    "version": "0.0.15",
    "publisher": "llvm-vs-code-extensions",
    "homepage": "https://clang.llvm.org/extra/clangd.html",
    "engines": {
        "vscode": "^1.30.0"
    },
    "categories": [
        "Programming Languages",
        "Linters",
        "Snippets"
    ],
    "keywords": [
        "C",
        "C++",
        "LSP",
        "Clangd",
        "LLVM"
    ],
    "activationEvents": [
        "onLanguage:c",
        "onLanguage:cpp",
        "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",
        "test": "node ./node_modules/vscode/bin/test"
    },
    "dependencies": {
        "vscode-languageclient": "^5.2.0",
        "vscode-languageserver": "^5.2.0"
    },
    "devDependencies": {
        "@types/mocha": "^2.2.32",
        "@types/node": "^6.0.40",
        "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*-\\*-.*"
        }],
        "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."
                }
            }
        },
        "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"
            }
        ]
    }
}
