{
"name": "coc-clangd",
- "version": "0.9.0",
+ "version": "0.17.0",
"description": "clangd extension for coc.nvim",
"author": "Heyward Fann <fannheyward@gmail.com>",
"license": "Apache-2.0 WITH LLVM-exception",
"scripts": {
"clean": "rimraf lib",
"build": "node esbuild.js",
+ "watch": "node esbuild.js --watch",
"lint": "eslint src --ext ts",
"prepare": "node esbuild.js"
},
"devDependencies": {
- "@clangd/install": "^0.1.3",
- "@types/node": "10.12.0",
+ "@clangd/install": "^0.1.4",
+ "@types/node": "12.12.0",
"@types/which": "^2.0.0",
- "@typescript-eslint/eslint-plugin": "^4.5.0",
- "@typescript-eslint/parser": "^4.5.0",
- "coc.nvim": "^0.0.81-next.2",
- "esbuild": "^0.8.42",
- "eslint": "^7.11.0",
- "eslint-config-prettier": "^7.0.0",
- "eslint-plugin-prettier": "^3.1.4",
- "prettier": "^2.1.2",
+ "@typescript-eslint/eslint-plugin": "^5.0.0",
+ "@typescript-eslint/parser": "^5.0.0",
+ "coc.nvim": "^0.0.81-next.7",
+ "esbuild": "^0.13.4",
+ "eslint": "^8.0.0",
"rimraf": "^3.0.1",
- "typescript": "^4.0.3",
- "vscode-languageserver-protocol": "^3.15.3"
+ "typescript": "^4.4.3",
+ "vscode-languageserver-protocol": "^3.16.0"
},
"activationEvents": [
"onLanguage:c",
"onLanguage:cuda",
"onLanguage:objc",
"onLanguage:objcpp",
- "onLanguage:arduino",
+ "onLanguage:opencl",
"onLanguage:objective-c",
"onLanguage:objective-cpp",
"workspaceContains:**/compile_commands.json",
},
"description": "Arguments for clangd server"
},
- "clangd.trace": {
+ "clangd.trace.file": {
"type": "string",
+ "default": "",
"description": "Names a file that clangd should log a performance trace to, in chrome trace-viewer JSON format."
},
+ "clangd.trace.server": {
+ "type": "string",
+ "enum": [
+ "off",
+ "messages",
+ "verbose"
+ ],
+ "default": "off",
+ "description": "Trace requests to clangd"
+ },
"clangd.fallbackFlags": {
"type": "array",
"items": {
}
},
"commands": [
+ {
+ "command": "clangd.ast",
+ "title": "Show AST"
+ },
{
"command": "clangd.switchSourceHeader",
"title": "Switch between source/header"
"command": "clangd.symbolInfo",
"title": "Resolve symbol info under the cursor"
},
+ {
+ "command": "clangd.memoryUsage",
+ "title": "Show memory usage"
+ },
+ {
+ "command": "clangd.projectConfig",
+ "title": "Open project configuration file"
+ },
+ {
+ "command": "clangd.userConfig",
+ "title": "Open user configuration file"
+ },
{
"command": "clangd.install",
"title": "Install latest clangd language server binary release"