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 "watch": "node esbuild.js --watch",
22 "lint": "eslint src --ext ts",
23 "prepare": "node esbuild.js"
26 "@clangd/install": "^0.1.4",
27 "@types/node": "12.12.0",
28 "@types/which": "^2.0.0",
29 "@typescript-eslint/eslint-plugin": "^5.0.0",
30 "@typescript-eslint/parser": "^5.0.0",
31 "coc.nvim": "^0.0.81-next.7",
35 "typescript": "^4.4.3",
36 "vscode-languageserver-protocol": "^3.16.0"
45 "onLanguage:objective-c",
46 "onLanguage:objective-cpp",
47 "workspaceContains:**/compile_commands.json",
48 "workspaceContains:**/compile_flags.txt"
53 "compile_commands.json",
61 "title": "coc-clangd configuration",
66 "description": "Enable coc-clangd extension"
68 "clangd.disableDiagnostics": {
71 "description": "Disable diagnostics from clangd"
73 "clangd.disableCompletion": {
76 "description": "Disable completion source from clangd"
78 "clangd.disableSnippetCompletion": {
81 "description": "Disable completion snippet from clangd"
83 "clangd.compilationDatabasePath": {
86 "description": "Specifies the directory containing the compilation database"
91 "description": "The path to clangd executable, e.g.: /usr/bin/clangd"
99 "description": "Arguments for clangd server"
101 "clangd.trace.file": {
104 "description": "Names a file that clangd should log a performance trace to, in chrome trace-viewer JSON format."
106 "clangd.trace.server": {
114 "description": "Trace requests to clangd"
116 "clangd.fallbackFlags": {
122 "description": "Extra clang flags used to parse files when no compilation database is found."
124 "clangd.semanticHighlighting": {
127 "description": "Enable semantic highlighting in clangd, requires jackguo380/vim-lsp-cxx-highlight to work"
129 "clangd.showDBChangedNotification": {
132 "description": "Show notifications while DB files changed"
134 "clangd.serverCompletionRanking": {
137 "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."
139 "clangd.checkUpdates": {
142 "description": "Check for clangd language server updates on startup."
144 "suggest.detailMaxLength": {
146 "description": "Max length of detail that should be shown in popup menu.",
149 "diagnostic.format": {
151 "description": "Define the diagnostic format. Available parts: source, code, severity, message",
152 "default": "%message\n[%source:%code]"
158 "command": "clangd.ast",
162 "command": "clangd.switchSourceHeader",
163 "title": "Switch between source/header"
166 "command": "clangd.symbolInfo",
167 "title": "Resolve symbol info under the cursor"
170 "command": "clangd.memoryUsage",
171 "title": "Show memory usage"
174 "command": "clangd.projectConfig",
175 "title": "Open project configuration file"
178 "command": "clangd.userConfig",
179 "title": "Open user configuration file"
182 "command": "clangd.install",
183 "title": "Install latest clangd language server binary release"
186 "command": "clangd.update",
187 "title": "Check for updates to clangd language server"