4 "description": "clangd extension for coc.nvim",
5 "author": "Heyward Fann <fannheyward@gmail.com>",
6 "license": "Apache-2.0 WITH LLVM-exception",
7 "main": "lib/index.js",
16 "url": "https://github.com/clangd/coc-clangd.git"
19 "clean": "rimraf lib",
20 "watch": "webpack --watch",
22 "lint": "eslint src --ext ts",
23 "prepare": "npm-run-all clean build"
26 "@clangd/install": "^0.1.3",
27 "@types/node": "^14.14.2",
28 "@types/which": "^1.3.2",
29 "@typescript-eslint/eslint-plugin": "^4.5.0",
30 "@typescript-eslint/parser": "^4.5.0",
31 "coc.nvim": "^0.0.79",
33 "eslint-config-prettier": "^6.14.0",
34 "eslint-plugin-prettier": "^3.1.4",
36 "npm-run-all": "^4.1.5",
39 "ts-loader": "^8.0.6",
40 "typescript": "^4.0.3",
41 "vscode-languageserver-protocol": "^3.15.3",
43 "webpack-cli": "^4.1.0"
47 "pre-push": "yarn lint"
57 "onLanguage:objective-c",
58 "onLanguage:objective-cpp",
59 "workspaceContains:**/compile_commands.json",
60 "workspaceContains:**/compile_flags.txt"
65 "compile_commands.json",
73 "title": "coc-clangd configuration",
78 "description": "Enable coc-clangd extension"
80 "clangd.disableDiagnostics": {
83 "description": "Disable diagnostics from clangd"
85 "clangd.disableSnippetCompletion": {
88 "description": "Disable completion snippet from clangd"
90 "clangd.compilationDatabasePath": {
93 "description": "Specifies the directory containing the compilation database"
98 "description": "The path to clangd executable, e.g.: /usr/bin/clangd"
100 "clangd.arguments": {
106 "description": "Arguments for clangd server"
110 "description": "Names a file that clangd should log a performance trace to, in chrome trace-viewer JSON format."
112 "clangd.fallbackFlags": {
118 "description": "Extra clang flags used to parse files when no compilation database is found."
120 "clangd.semanticHighlighting": {
123 "description": "Enable semantic highlighting in clangd, requires jackguo380/vim-lsp-cxx-highlight to work"
125 "clangd.showDBChangedNotification": {
128 "description": "Show notifications while DB files changed"
130 "clangd.serverCompletionRanking": {
133 "description": "Always rank completion items on the server as you type. This produces more accurate results at the cost of higher latency than client-side filtering."
135 "clangd.checkUpdates": {
138 "description": "Check for clangd language server updates on startup."
140 "suggest.detailMaxLength": {
142 "description": "Max length of detail that should be shown in popup menu.",
145 "diagnostic.format": {
147 "description": "Define the diagnostic format. Available parts: source, code, severity, message",
148 "default": "%message\n[%source:%code]"
154 "command": "clangd.switchSourceHeader",
155 "title": "Switch between source/header"
158 "command": "clangd.symbolInfo",
159 "title": "Resolve symbol info under the cursor"
162 "command": "clangd.install",
163 "title": "Install latest clangd language server binary release"
166 "command": "clangd.update",
167 "title": "Check for updates to clangd language server"