2022-08-19 16:13:03 +08:00
|
|
|
{
|
2022-08-30 18:55:32 +08:00
|
|
|
"name": "cmake-intellisence",
|
2022-08-19 16:13:03 +08:00
|
|
|
"displayName": "CMake IntelliSence",
|
|
|
|
"description": "CMake IntelliSence for Visual Studio Code",
|
2022-12-07 08:58:10 +08:00
|
|
|
"version": "0.0.2",
|
2022-08-19 16:13:03 +08:00
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.68.0"
|
|
|
|
},
|
2022-10-10 11:04:15 +08:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://gitee.com/openkylin/cmake-intellisence"
|
|
|
|
},
|
2022-08-19 16:13:03 +08:00
|
|
|
"categories": [
|
2022-08-23 16:50:59 +08:00
|
|
|
"Programming Languages",
|
|
|
|
"Snippets",
|
|
|
|
"Formatters"
|
2022-08-19 16:13:03 +08:00
|
|
|
],
|
2022-10-12 12:37:03 +08:00
|
|
|
"publisher": "quanzhuo",
|
2022-10-12 12:37:33 +08:00
|
|
|
"icon": "images/icon.png",
|
2022-08-19 16:13:03 +08:00
|
|
|
"activationEvents": [
|
2022-08-23 16:50:59 +08:00
|
|
|
"onLanguage:cmake",
|
|
|
|
"workspaceContains:CMakeLists.txt"
|
2022-08-19 16:13:03 +08:00
|
|
|
],
|
2022-10-12 12:37:03 +08:00
|
|
|
"main": "./dist/client",
|
2022-08-19 16:13:03 +08:00
|
|
|
"contributes": {
|
2022-08-23 16:50:59 +08:00
|
|
|
"grammars": [
|
|
|
|
{
|
|
|
|
"language": "cmake",
|
|
|
|
"scopeName": "source.cmake",
|
|
|
|
"path": "./syntaxes/cmake.tmLanguage.json"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"language": "cmakecache",
|
|
|
|
"scopeName": "source.cmakecache",
|
|
|
|
"path": "./syntaxes/cmakecache.tmLanguage.json"
|
2022-09-06 10:08:52 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"language": "cmdsignature",
|
|
|
|
"scopeName": "source.cmdsignature",
|
|
|
|
"path": "./syntaxes/cmdsignature.tmLanguage.json"
|
2022-08-23 16:50:59 +08:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"languages": [
|
|
|
|
{
|
|
|
|
"id": "cmake",
|
|
|
|
"extensions": [
|
|
|
|
".cmake"
|
|
|
|
],
|
|
|
|
"filenames": [
|
|
|
|
"CMakeLists.txt"
|
|
|
|
],
|
|
|
|
"aliases": [
|
|
|
|
"CMake"
|
|
|
|
],
|
|
|
|
"configuration": "./language-configuration.json"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cmakecache",
|
|
|
|
"filenames": [
|
|
|
|
"CMakeCache.txt"
|
|
|
|
],
|
|
|
|
"aliases": [
|
|
|
|
"CMakeCache"
|
|
|
|
]
|
2022-09-06 10:08:52 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "cmdsignature"
|
2022-08-23 16:50:59 +08:00
|
|
|
}
|
2022-08-24 12:30:14 +08:00
|
|
|
],
|
|
|
|
"snippets": [
|
|
|
|
{
|
|
|
|
"language": "cmake",
|
|
|
|
"path": "./snippets.json"
|
|
|
|
}
|
2022-08-30 18:55:32 +08:00
|
|
|
],
|
2022-10-10 11:04:15 +08:00
|
|
|
"configuration": [
|
2022-08-30 18:55:32 +08:00
|
|
|
{
|
|
|
|
"title": "CMake IntelliSence",
|
|
|
|
"properties": {
|
2022-11-27 11:09:30 +08:00
|
|
|
"cmakeIntelliSence.cmakePath": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "cmake",
|
|
|
|
"description": "Set path to CMake executable"
|
|
|
|
},
|
2022-09-03 11:03:41 +08:00
|
|
|
"cmakeIntelliSence.loggingLevel": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"Off",
|
|
|
|
"Error",
|
|
|
|
"Warnning",
|
|
|
|
"Info",
|
|
|
|
"Debug"
|
|
|
|
],
|
2022-12-08 11:55:26 +08:00
|
|
|
"default": "Off",
|
2022-09-03 11:03:41 +08:00
|
|
|
"markdownDescription": "Control the logging level"
|
|
|
|
},
|
|
|
|
"cmakeIntelliSence.trace.server": {
|
|
|
|
"type": "string",
|
|
|
|
"enum": [
|
|
|
|
"verbose",
|
|
|
|
"message",
|
|
|
|
"off"
|
|
|
|
],
|
2022-12-08 11:55:26 +08:00
|
|
|
"default": "off"
|
2022-08-30 18:55:32 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-08-19 16:13:03 +08:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"scripts": {
|
2022-11-10 17:25:49 +08:00
|
|
|
"vscode:prepublish": "npm run product",
|
2022-10-10 11:04:15 +08:00
|
|
|
"compile": "npm run grammar && tsc -b . --verbose",
|
2022-11-10 17:25:49 +08:00
|
|
|
"develop": "concurrently \"npm run grammar\" \"npm run dev-client\" \"npm run dev-server\"",
|
|
|
|
"product": "concurrently \"npm run grammar\" \"npm run prod-client\" \"npm run prod-server\"",
|
2022-10-10 11:04:15 +08:00
|
|
|
"watch": "npm run grammar && tsc -watch -b . --verbose",
|
2022-08-19 16:13:03 +08:00
|
|
|
"pretest": "npm run compile && npm run lint",
|
|
|
|
"lint": "eslint src --ext ts",
|
2022-10-10 11:04:15 +08:00
|
|
|
"test": "node ./out/test/runTest.js",
|
2022-10-11 13:49:33 +08:00
|
|
|
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
|
2022-11-11 09:41:00 +08:00
|
|
|
"antlr4": "cd server/antlr && antlr4 -o ../src/parser/ -Dlanguage=JavaScript CMake.g4",
|
2022-10-11 13:49:33 +08:00
|
|
|
"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",
|
2022-10-12 12:37:03 +08:00
|
|
|
"grammar": "node ./build/yaml-to-json.mjs",
|
2022-11-27 16:09:14 +08:00
|
|
|
"dev-client": "webpack --mode development --watch --config webpack.config.client.js",
|
|
|
|
"dev-server": "webpack --mode development --watch --config webpack.config.server.js",
|
2022-11-10 17:25:49 +08:00
|
|
|
"prod-client": "webpack --mode production --config webpack.config.client.js --devtool hidden-source-map",
|
|
|
|
"prod-server": "webpack --mode production --config webpack.config.server.js --devtool hidden-source-map"
|
2022-08-19 16:13:03 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@types/mocha": "^9.1.1",
|
|
|
|
"@types/node": "16.x",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.31.0",
|
|
|
|
"@typescript-eslint/parser": "^5.31.0",
|
2022-11-10 17:25:49 +08:00
|
|
|
"concurrently": "^7.5.0",
|
2022-08-19 16:13:03 +08:00
|
|
|
"eslint": "^8.20.0",
|
2022-08-23 16:50:59 +08:00
|
|
|
"js-yaml": "^4.1.0",
|
2022-08-19 16:13:03 +08:00
|
|
|
"mocha": "^10.0.0",
|
2022-10-11 18:06:36 +08:00
|
|
|
"ts-loader": "^9.4.1",
|
|
|
|
"typescript": "^4.8.4",
|
|
|
|
"webpack": "^5.74.0",
|
|
|
|
"webpack-cli": "^4.10.0"
|
2022-08-19 16:13:03 +08:00
|
|
|
}
|
|
|
|
}
|