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 "build": "node esbuild.js",
21 "lint": "eslint src --ext ts",
22 "prepare": "node esbuild.js"
25 "@clangd/install": "^0.1.3",
26 "@types/node": "10.12.0",
27 "@types/which": "^2.0.0",
28 "@typescript-eslint/eslint-plugin": "^4.5.0",
29 "@typescript-eslint/parser": "^4.5.0",
30 "coc.nvim": "^0.0.81-next.2",
33 "eslint-config-prettier": "^7.0.0",
34 "eslint-plugin-prettier": "^3.1.4",
37 "typescript": "^4.0.3",
38 "vscode-languageserver-protocol": "^3.15.3"
47 "onLanguage:objective-c",
48 "onLanguage:objective-cpp",
49 "workspaceContains:**/compile_commands.json",
50 "workspaceContains:**/compile_flags.txt"
55 "compile_commands.json",
63 "title": "coc-clangd configuration",
68 "description": "Enable coc-clangd extension"
70 "clangd.disableDiagnostics": {
73 "description": "Disable diagnostics from clangd"
75 "clangd.disableCompletion": {
78 "description": "Disable completion source from clangd"
80 "clangd.disableSnippetCompletion": {
83 "description": "Disable completion snippet from clangd"
85 "clangd.compilationDatabasePath": {
88 "description": "Specifies the directory containing the compilation database"
93 "description": "The path to clangd executable, e.g.: /usr/bin/clangd"
101 "description": "Arguments for clangd server"
105 "description": "Names a file that clangd should log a performance trace to, in chrome trace-viewer JSON format."
107 "clangd.fallbackFlags": {
113 "description": "Extra clang flags used to parse files when no compilation database is found."
115 "clangd.semanticHighlighting": {
118 "description": "Enable semantic highlighting in clangd, requires jackguo380/vim-lsp-cxx-highlight to work"
120 "clangd.showDBChangedNotification": {
123 "description": "Show notifications while DB files changed"
125 "clangd.serverCompletionRanking": {
128 "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."
130 "clangd.checkUpdates": {
133 "description": "Check for clangd language server updates on startup."
135 "suggest.detailMaxLength": {
137 "description": "Max length of detail that should be shown in popup menu.",
140 "diagnostic.format": {
142 "description": "Define the diagnostic format. Available parts: source, code, severity, message",
143 "default": "%message\n[%source:%code]"
149 "command": "clangd.switchSourceHeader",
150 "title": "Switch between source/header"
153 "command": "clangd.symbolInfo",
154 "title": "Resolve symbol info under the cursor"
157 "command": "clangd.install",
158 "title": "Install latest clangd language server binary release"
161 "command": "clangd.update",
162 "title": "Check for updates to clangd language server"