{ "name": "cmake-intellisence", "displayName": "CMake IntelliSence", "description": "CMake IntelliSence for Visual Studio Code", "version": "0.0.1", "engines": { "vscode": "^1.68.0" }, "repository": { "type": "git", "url": "https://gitee.com/openkylin/cmake-intellisence" }, "categories": [ "Programming Languages", "Snippets", "Formatters" ], "publisher": "quanzhuo", "icon": "images/icon.png", "activationEvents": [ "onLanguage:cmake", "workspaceContains:CMakeLists.txt" ], "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": "Set path to CMake executable" }, "cmakeIntelliSence.loggingLevel": { "type": "string", "enum": [ "Off", "Error", "Warnning", "Info", "Debug" ], "default": "Info", "markdownDescription": "Control the logging level" }, "cmakeIntelliSence.trace.server": { "type": "string", "enum": [ "verbose", "message", "off" ], "default": "verbose" } } } ] }, "scripts": { "vscode:prepublish": "npm run product", "compile": "npm run grammar && tsc -b . --verbose", "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\"", "watch": "npm run grammar && tsc -watch -b . --verbose", "pretest": "npm run compile && npm run lint", "lint": "eslint src --ext ts", "test": "node ./out/test/runTest.js", "postinstall": "cd client && npm install && cd ../server && npm install && cd ..", "antlr4": "cd server/antlr && antlr4 -o ../src/parser/ -Dlanguage=JavaScript CMake.g4", "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", "dev-client": "webpack --mode development --watch --config webpack.config.client.js", "dev-server": "webpack --mode development --watch --config webpack.config.server.js", "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" }, "devDependencies": { "@types/mocha": "^9.1.1", "@types/node": "16.x", "@typescript-eslint/eslint-plugin": "^5.31.0", "@typescript-eslint/parser": "^5.31.0", "concurrently": "^7.5.0", "eslint": "^8.20.0", "js-yaml": "^4.1.0", "mocha": "^10.0.0", "ts-loader": "^9.4.1", "typescript": "^4.8.4", "webpack": "^5.74.0", "webpack-cli": "^4.10.0" } }