28 Star 20 Fork 14

openKylin/cmake-intellisence

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 5.08 KB
一键复制 编辑 原始数据 按行查看 历史
{
"name": "cmake-intellisence",
"displayName": "CMake IntelliSence",
"description": "CMake format, completion, go to definition, document link, semantic tokens, and more...",
"author": "quanzhuo",
"version": "0.3.3",
"engines": {
"vscode": "^1.68.0"
},
"repository": {
"type": "git",
"url": "https://github.com/quanzhuo/cmake-intellisence"
},
"bugs": {
"url": "https://github.com/quanzhuo/cmake-intellisence/issues",
"email": "quanzhuo@kylinos.cn"
},
"categories": [
"Programming Languages",
"Snippets",
"Formatters"
],
"keywords": [
"CMake",
"C++",
"KylinIdeDev",
"KylinIdeDevEdit",
"KylinIdeDevCYuYan",
"KylinIdeDevCPlusPlus",
"KylinIdeDevOtherLanguages"
],
"downloadUrl": "https://gitee.com/openkylin/cmake-intellisence/releases",
"publisher": "KylinIdeTeam",
"icon": "images/icon.png",
"activationEvents": [
"onLanguage:cmake",
"workspaceContains:CMakeLists.txt",
"workspaceContains:**/*.cmake"
],
"main": "./dist/client",
"contributes": {
"grammars": [
{
"language": "cmake",
"scopeName": "source.cmake",
"path": "./syntaxes/cmake.tmLanguage.json"
},
{
"language": "cmakecache",
"scopeName": "source.cmakecache",
"path": "./syntaxes/cmakecache.tmLanguage.json"
},
{
"language": "cmdsignature",
"scopeName": "source.cmdsignature",
"path": "./syntaxes/cmdsignature.tmLanguage.json"
}
],
"languages": [
{
"id": "cmake",
"extensions": [
".cmake"
],
"filenames": [
"CMakeLists.txt"
],
"aliases": [
"CMake"
],
"configuration": "./language-configuration.json"
},
{
"id": "cmakecache",
"filenames": [
"CMakeCache.txt"
],
"aliases": [
"CMakeCache"
]
},
{
"id": "cmdsignature"
}
],
"snippets": [
{
"language": "cmake",
"path": "./snippets.json"
}
],
"configuration": [
{
"title": "CMake IntelliSence",
"properties": {
"cmakeIntelliSence.cmakePath": {
"type": "string",
"default": "cmake",
"description": "%cmakePath%"
},
"cmakeIntelliSence.pkgConfigPath": {
"type": "string",
"default": "pkg-config",
"description": "%pkgConfigPath%"
},
"cmakeIntelliSence.cmdCaseDiagnostics": {
"type": "boolean",
"description": "%cmdCaseDiagnostics%",
"default": "true"
},
"cmakeIntelliSence.loggingLevel": {
"type": "string",
"enum": [
"off",
"error",
"warning",
"info",
"debug"
],
"default": "off",
"markdownDescription": "%loggingLevel%"
},
"cmakeIntelliSence.trace.server": {
"type": "string",
"enum": [
"verbose",
"message",
"off"
],
"default": "off"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "node -e \"fs.rmSync('dist', {'recursive': true, 'force': true})\" && npm run product",
"compile": "tsc -p ./server",
"tsc-watch": "tsc -p ./server -w",
"develop": "npm run grammar && npm run antlr4 && webpack --mode development --watch",
"product": "npm run grammar && npm run antlr4 && webpack --mode production --devtool false",
"pretest": "npm run compile && npm run lint",
"lint": "eslint . --ext ts",
"test": "mocha",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"grammar-cmake": "npx js-yaml ./syntaxes/cmake.tmLanguage.yml > ./syntaxes/cmake.tmLanguage.json",
"grammar-cmakecache": "npx js-yaml ./syntaxes/cmakecache.tmLanguage.yml > ./syntaxes/cmakecache.tmLanguage.json",
"grammar-cmdsignature": "npx js-yaml ./syntaxes/cmdsignature.tmLanguage.yml > ./syntaxes/cmdsignature.tmLanguage.json",
"grammar": "node ./build/yaml-to-json.mjs",
"antlr4": "cd server/src/antlr && antlr4 -o ../generated/ -visitor -Dlanguage=TypeScript CMakeLexer.g4 && antlr4 -o ../generated/ -visitor -Dlanguage=TypeScript CMakeParser.g4 && antlr4 -o ../generated/ -Dlanguage=TypeScript CMakeSimpleLexer.g4 && antlr4 -o ../generated/ -Dlanguage=TypeScript CMakeSimpleParser.g4"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "18.x",
"@types/which": "^3.0.4",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"eslint": "^8.57.0",
"js-yaml": "^4.1.0",
"mocha": "^11.0.1",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"webpack": "^5.91.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"which": "^5.0.0"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openkylin/cmake-intellisence.git
git@gitee.com:openkylin/cmake-intellisence.git
openkylin
cmake-intellisence
cmake-intellisence
main

搜索帮助