178 lines
4.5 KiB
JSON
178 lines
4.5 KiB
JSON
{
|
|
"name": "clice-vscode",
|
|
"displayName": "clice",
|
|
"description": "VSCode extension for clice",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/clice-project/clice-vscode"
|
|
},
|
|
"version": "0.1.4",
|
|
"publisher": "ykiko",
|
|
"icon": "clice.png",
|
|
"engines": {
|
|
"vscode": "^1.80.0"
|
|
},
|
|
"categories": [
|
|
"Programming Languages",
|
|
"Linters",
|
|
"Formatters"
|
|
],
|
|
"keywords": [
|
|
"C",
|
|
"C++",
|
|
"cuda",
|
|
"clang"
|
|
],
|
|
"activationEvents": [
|
|
"onLanguage:c",
|
|
"onLanguage:cpp",
|
|
"onLanguage:cuda-cpp"
|
|
],
|
|
"contributes": {
|
|
"configuration": {
|
|
"type": "object",
|
|
"title": "C/C++ Language Client",
|
|
"properties": {
|
|
"clice-client.trace.server": {
|
|
"default": "verbose"
|
|
},
|
|
"clice.executable": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "The path of clice executable."
|
|
},
|
|
"clice.mode": {
|
|
"type": "string",
|
|
"default": "pipe",
|
|
"enum": [
|
|
"pipe",
|
|
"socket"
|
|
],
|
|
"description": "How to communicate with clice. pipe or socket. For daily use please use pipe."
|
|
},
|
|
"clice.host": {
|
|
"type": "string",
|
|
"default": "127.0.0.1",
|
|
"description": "The host to connect to (default: 127.0.0.1)"
|
|
},
|
|
"clice.port": {
|
|
"type": "number",
|
|
"default": 50051,
|
|
"description": "The port to connect to"
|
|
}
|
|
}
|
|
},
|
|
"commands": [],
|
|
"semanticTokenTypes": [
|
|
{
|
|
"id": "character",
|
|
"description": "C/C++ character literal (e.g., 'a')",
|
|
"superType": "string"
|
|
},
|
|
{
|
|
"id": "directive",
|
|
"description": "C/C++ preprocessor directive (e.g., #include)",
|
|
"superType": "keyword"
|
|
},
|
|
{
|
|
"id": "header",
|
|
"description": "C/C++ header name (e.g., <iostream>)",
|
|
"superType": "string"
|
|
},
|
|
{
|
|
"id": "module",
|
|
"description": "C++20 module name",
|
|
"superType": "namespace"
|
|
},
|
|
{
|
|
"id": "macroParameter",
|
|
"description": "C/C++ macro parameter",
|
|
"superType": "parameter"
|
|
},
|
|
{
|
|
"id": "union",
|
|
"description": "C/C++ union type",
|
|
"superType": "struct"
|
|
},
|
|
{
|
|
"id": "field",
|
|
"description": "C/C++ field (member variable)",
|
|
"superType": "variable"
|
|
},
|
|
{
|
|
"id": "label",
|
|
"description": "C/C++ label (for goto)",
|
|
"superType": "variable"
|
|
},
|
|
{
|
|
"id": "concept",
|
|
"description": "C++20 concept",
|
|
"superType": "type"
|
|
},
|
|
{
|
|
"id": "attribute",
|
|
"description": "GNU/MSVC/C++11/C23 attribute",
|
|
"superType": "macro"
|
|
},
|
|
{
|
|
"id": "paren",
|
|
"description": "Parentheses `()`",
|
|
"superType": "operator"
|
|
},
|
|
{
|
|
"id": "bracket",
|
|
"description": "Brackets `[]`",
|
|
"superType": "operator"
|
|
},
|
|
{
|
|
"id": "brace",
|
|
"description": "Braces `{}`",
|
|
"superType": "operator"
|
|
},
|
|
{
|
|
"id": "angle",
|
|
"description": "Angle brackets `<>`",
|
|
"superType": "operator"
|
|
}
|
|
]
|
|
},
|
|
"main": "./dist/extension.js",
|
|
"scripts": {
|
|
"compile": "webpack",
|
|
"watch": "webpack --watch",
|
|
"vscode:prepublish": "webpack --mode production --devtool hidden-source-map",
|
|
"package": "vsce package --no-dependencies --baseImagesUrl https://raw.githubusercontent.com/clice-io/clice/main/",
|
|
"publish": "vsce publish --no-dependencies --baseImagesUrl https://raw.githubusercontent.com/clice-io/clice/main/",
|
|
"pretest": "pnpm run compile",
|
|
"test": "vscode-test",
|
|
"release:patch": "pnpm version patch -m \"release: v%s\" && git push --follow-tags",
|
|
"release:minor": "pnpm version minor -m \"release: v%s\" && git push --follow-tags"
|
|
},
|
|
"devDependencies": {
|
|
"@types/decompress": "^4.2.7",
|
|
"@types/mocha": "^10.0.10",
|
|
"@types/node": "~25.0.3",
|
|
"@types/vscode": "^1.80.0",
|
|
"@vscode/test-cli": "^0.0.12",
|
|
"@vscode/test-electron": "^2.5.2",
|
|
"@vscode/vsce": "^3.7.1",
|
|
"ts-loader": "^9.5.4",
|
|
"typescript": "~5.5.4",
|
|
"webpack": "^5.104.1",
|
|
"webpack-cli": "^6.0.1"
|
|
},
|
|
"dependencies": {
|
|
"decompress": "^4.2.1",
|
|
"vscode-languageclient": "^9.0.1"
|
|
},
|
|
"overrides": {
|
|
"glob": "^11.1.0"
|
|
},
|
|
"pnpm": {
|
|
"onlyBuiltDependencies": [
|
|
"@vscode/vsce-sign",
|
|
"keytar"
|
|
]
|
|
}
|
|
}
|