代码拉取完成,页面将自动刷新
{
"name": "kylin-clangd",
"displayName": "Kylin Clangd",
"description": "Fork of clangd, add schema validation for .clangd, .clang-format, .clang-tidy files",
"version": "0.2.23",
"publisher": "KylinIdeTeam",
"license": "MIT",
"homepage": "https://gitee.com/openKylin/kylin-clangd",
"icon": "icon.png",
"engines": {
"vscode": "^1.65.0"
},
"downloadUrl": "https://gitee.com/openKylin/kylin-clangd/releases",
"categories": [
"Programming Languages",
"Linters",
"Formatters"
],
"keywords": [
"C",
"C++",
"clang-tidy",
"clang-format",
"clangd",
"KylinIdeDev",
"KylinIdeDevCYuYan",
"KylinIdeDevCPlusPlus",
"KylinIdeDevEdit"
],
"activationEvents": [
"onLanguage:c",
"onLanguage:cpp",
"onLanguage:cuda-cpp",
"onLanguage:objective-c",
"onLanguage:objective-cpp",
"onCommand:clangd.activate",
"onCommand:clangd.install",
"onCommand:clangd.update"
],
"main": "./out/bundle",
"scripts": {
"esbuild": "esbuild ./src/extension.ts --bundle --outfile=out/bundle.js --external:vscode --format=cjs --platform=node",
"vscode:prepublish": "npm run check-ts && npm run esbuild -- --minify --keep-names",
"compile": "npm run esbuild -- --sourcemap",
"check-ts": "tsc -noEmit -p ./",
"test-compile": "tsc -p ./ && npm run compile",
"test": "npm run test-compile && node ./out/test/index.js",
"package": "node -e \"fs.rmSync('out', {'recursive': true})\" && vsce package --baseImagesUrl https://gitee.com/openKylin/kylin-clangd/raw/master"
},
"dependencies": {
"@clangd/install": "0.1.17",
"abort-controller": "^3.0.0",
"comment-json": "^4.2.3",
"fs-extra": "^10.0.0",
"vscode-languageclient": "8.0.2",
"which": "^3.0.1"
},
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/glob": "^7.1.1",
"@types/mocha": "^7.0.2",
"@types/node": "18.x",
"@types/sinon": "^10.0.16",
"@types/vscode": "1.65.0",
"@types/which": "^3.0.0",
"esbuild": "^0.14.13",
"glob": "^7.1.4",
"mocha": "^9.2.0",
"sinon": "^15.2.0",
"typescript": "^4.5.5",
"vsce": "^2.7.0",
"vscode-languageserver-types": "^3.17.5",
"vscode-test": "^1.3.0"
},
"repository": {
"type": "git",
"url": "https://gitee.com/openKylin/kylin-clangd.git"
},
"qna": "marketplace",
"capabilities": {
"untrustedWorkspaces": {
"supported": "limited",
"description": "In restricted mode clangd.path and clangd.arguments are not respected.",
"restrictedConfigurations": [
"clangd.path",
"clangd.arguments"
]
}
},
"contributes": {
"languages": [
{
"id": "cpp",
"filenamePatterns": [
"**/include/c++/**",
"**/MSVC/*/include/**"
],
"firstLine": "^/[/*].*-\\*-\\s*C\\+\\+\\s*-\\*-.*"
},
{
"id": "yaml",
"filenames": [
".clangd",
".clang-format",
".clang-tidy"
]
}
],
"configuration": {
"type": "object",
"title": "Kylin Clangd",
"properties": {
"clangd.path": {
"type": "string",
"default": "clangd",
"scope": "machine-overridable",
"description": "%clangdPath%"
},
"clangd.arguments": {
"type": "array",
"default": [],
"items": {
"type": "string"
},
"description": "%clangdArgs%"
},
"clangd.trace": {
"type": "string",
"description": "%clangdTraceFile%"
},
"clangd.semanticHighlighting": {
"type": "boolean",
"default": true,
"description": "%semanticHighlighting%",
"deprecationMessage": "%semanticHighlightingDeprecated%"
},
"clangd.fallbackFlags": {
"type": "array",
"default": [],
"items": {
"type": "string"
},
"description": "%fallbackFlags%"
},
"clangd.serverCompletionRanking": {
"type": "boolean",
"default": true,
"description": "%serverCompletionRanking%"
},
"clangd.restartAfterCrash": {
"type": "boolean",
"default": true,
"description": "%restartAfterCrash%"
},
"clangd.checkUpdates": {
"type": "boolean",
"default": false,
"description": "%checkUpdates%"
},
"clangd.detectExtensionConflicts": {
"type": "boolean",
"default": true,
"description": "%conflictMessageDesc%"
},
"clangd.headerInsertion": {
"type": "string",
"default": "iwyu",
"description": "%clangd.headerInsertion%",
"enum": [
"iwyu",
"never"
],
"enumDescriptions": [
"%clangd.headerInsertion.iwyu%",
"%clangd.headerInsertion.never%"
]
},
"clangd.inactiveRegions.useBackgroundHighlight": {
"type": "boolean",
"default": false,
"description": "%inactiveRegions.useBackgroundHighlight%"
},
"clangd.inactiveRegions.opacity": {
"type": "number",
"default": 0.55,
"description": "%inactiveRegions.opacity%"
},
"clangd.enableCodeCompletion": {
"type": "boolean",
"default": true,
"description": "%enableCodeCompletion%"
},
"clangd.enableHover": {
"type": "boolean",
"default": true,
"description": "%enableHover%"
},
"clangd.additionalIncludePaths": {
"type": "array",
"default": [],
"items": {
"type": "string"
},
"description": "%addAdditionalIncludePaths%",
"deprecationMessage": "%addAdditionalIncludePathsDeprecated%"
},
"clangd.enableClangTidyDiagnostic": {
"type": "boolean",
"default": true,
"description": "%enableClangTidyDiagnostic%"
},
"clangd.onConfigChanged": {
"type": "string",
"default": "prompt",
"description": "%onConfigChangedDesc%",
"enum": [
"prompt",
"restart",
"ignore"
],
"enumDescriptions": [
"%onConfigChangedDesc.prompt%",
"%onConfigChangedDesc.restart%",
"%onConfigChangedDesc.ignore%"
]
}
}
},
"colors": [
{
"id": "clangd.inactiveRegions.background",
"description": "Background color of inactive code regions (used only if clangd.inactiveRegions.useBackgroundHighlight=true)",
"defaults": {
"dark": "#1212124C",
"light": "#DCDCDC4C",
"highContrast": "#FCFCFC4C"
}
}
],
"commands": [
{
"command": "clangd.switchheadersource",
"category": "Kylin Clangd",
"title": "%switchHeaderSource%"
},
{
"command": "clangd.install",
"category": "Kylin Clangd",
"title": "%installClangd%"
},
{
"command": "clangd.update",
"category": "Kylin Clangd",
"title": "%updateClangd%"
},
{
"command": "clangd.activate",
"category": "Kylin Clangd",
"title": "%activateManually%"
},
{
"command": "clangd.restart",
"category": "Kylin Clangd",
"title": "%restartClangd%"
},
{
"command": "clangd.typeHierarchy",
"category": "Kylin Clangd",
"title": "%openTypeHierarchy%"
},
{
"command": "clangd.typeHierarchy.viewParents",
"category": "Kylin Clangd",
"title": "%typeHierarchy.viewParents%",
"icon": "$(triangle-up)"
},
{
"command": "clangd.typeHierarchy.viewChildren",
"category": "Kylin Clangd",
"title": "%typeHierarchy.viewChildren%",
"icon": "$(triangle-down)"
},
{
"command": "clangd.typeHierarchy.close",
"category": "Kylin Clangd",
"title": "%closeTypeHierarchyView%",
"icon": "$(panel-close)"
},
{
"command": "clangd.memoryUsage",
"category": "Kylin Clangd",
"title": "%showMemoryUsage%",
"enablement": "clangd.memoryUsage.supported",
"icon": "$(refresh)"
},
{
"command": "clangd.memoryUsage.close",
"category": "Kylin Clangd",
"title": "%closeMemUsageView%",
"icon": "$(panel-close)"
},
{
"command": "clangd.ast",
"category": "Kylin Clangd",
"title": "%showAst%",
"enablement": "clangd.ast.supported",
"icon": "$(list-tree)"
},
{
"command": "clangd.ast.close",
"category": "Kylin Clangd",
"title": "%closeASTView%",
"icon": "$(panel-close)"
},
{
"command": "clangd.projectConfig",
"category": "Kylin Clangd",
"title": "%openProjectConfigFile%",
"icon": "$(gear)"
},
{
"command": "clangd.userConfig",
"category": "Kylin Clangd",
"title": "%openUserConfigFile%",
"icon": "$(gear)"
},
{
"command": "clangd.inlayHints.toggle",
"category": "Kylin Clangd",
"title": "%toggleInlayHints%",
"enablement": "clangd.inlayHints.supported"
},
{
"command": "clangd.showDocumentation",
"category": "Kylin Clangd",
"title": "%clangd.showDocumentation%"
},
{
"command": "clangd.registerDocumentationProvider",
"category": "Kylin Clangd",
"title": "Register Documentation Provider",
"enablement": "false"
},
{
"command": "clangd.createClangdConfigFile",
"category": "Kylin Clangd",
"title": "%createClangdConfigFile%"
}
],
"keybindings": [
{
"command": "clangd.switchheadersource",
"key": "Alt+o",
"mac": "Alt+cmd+o",
"when": "(resourceLangId == c || resourceLangId == cpp || resourceLangId == cuda-cpp || resourceLangId == objective-c || resourceLangId == objective-cpp) && editorTextFocus"
},
{
"command": "clangd.typeHierarchy",
"key": "Shift+Alt+t",
"when": "(resourceLangId == cpp || resourceLangId == cuda-cpp || resourceLangId == objective-c || resourceLangId == objective-cpp) && editorTextFocus"
},
{
"command": "clangd.showDocumentation",
"key": "Shift+f1",
"when": "editorTextFocus && (editorLangId == cpp || editorLangId == c)"
}
],
"menus": {
"editor/context": [
{
"command": "clangd.typeHierarchy",
"when": "resourceLangId == cpp && clangd.enableTypeHierarchy",
"group": "0_navigation@4",
"_comment": "see https://github.com/microsoft/vscode-references-view/blob/f63eaed9934ca5ecc8f3fb3ca096f38c6e5e181f/package.json#L162"
},
{
"command": "clangd.switchheadersource",
"when": "resourceLangId == c || resourceLangId == cpp || resourceLangId == cuda-cpp || resourceLangId == objective-c || resourceLangId == objective-cpp",
"group": "0_navigation@5"
},
{
"command": "clangd.ast",
"when": "(resourceLangId == c || resourceLangId == cpp || resourceLangId == cuda-cpp || resourceLangId == objective-c || resourceLangId == objective-cpp) && clangd.ast.supported"
}
],
"view/title": [
{
"command": "clangd.typeHierarchy.viewParents",
"when": "view == clangd.typeHierarchyView",
"group": "navigation"
},
{
"command": "clangd.typeHierarchy.viewChildren",
"when": "view == clangd.typeHierarchyView",
"group": "navigation"
},
{
"command": "clangd.typeHierarchy.close",
"when": "view == clangd.typeHierarchyView",
"group": "navigation"
},
{
"command": "clangd.memoryUsage.close",
"when": "view == clangd.memoryUsage",
"group": "navigation"
},
{
"command": "clangd.memoryUsage",
"when": "view == clangd.memoryUsage",
"group": "navigation"
},
{
"command": "clangd.ast.close",
"when": "view == clangd.ast",
"group": "navigation"
}
],
"commandPalette": [
{
"command": "clangd.typeHierarchy.viewParents",
"when": "resourceLangId == cpp"
},
{
"command": "clangd.typeHierarchy.viewChildren",
"when": "resourceLangId == cpp"
},
{
"command": "clangd.memoryUsage",
"when": "clangd.memoryUsage.supported"
},
{
"command": "clangd.showDocumentation",
"when": "editorTextFocus && (editorLangId == cpp || editorLangId == c)"
},
{
"command": "clangd.registerDocumentationProvider",
"when": "false"
},
{
"command": "clangd.createClangdConfigFile",
"when": "true"
}
]
},
"views": {
"explorer": [
{
"id": "clangd.typeHierarchyView",
"name": "%typeHierarchy%",
"when": "clangd.typeHierarchyVisible"
},
{
"id": "clangd.memoryUsage",
"name": "%memoryUsage%",
"when": "clangd.memoryUsage.hasData"
},
{
"id": "clangd.ast",
"name": "%ast%",
"when": "clangd.ast.hasData"
}
]
},
"yamlValidation": [
{
"fileMatch": ".clang-tidy",
"url": "./res/schemas/clang-tidy.json"
},
{
"fileMatch": ".clang-format",
"url": "./res/schemas/clang-format.json"
},
{
"fileMatch": ".clangd",
"url": "./res/schemas/clangd.json"
}
]
},
"extensionPack": [
"redhat.vscode-yaml"
]
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。