-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
92 lines (92 loc) · 2.36 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "pysparkle",
"displayName": "PySparkle",
"description": "Python language support: semantic highlighting, code completions, and more",
"version": "0.0.1",
"engines": {
"vscode": "^1.96.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "pysparkle.server.restart",
"title": "Restart Language Server",
"category": "PySparkle"
}
],
"configuration": {
"title": "PySparkle",
"properties": {
"pysparkle.server.cwd": {
"type": "string",
"default": "${workspaceFolder}",
"description": "The working directory of the language server"
},
"pysparkle.server.pythonPath": {
"type": "string",
"default": "python",
"description": "Path to the Python interpreter used to run the language server"
},
"pysparkle.server.launchScript": {
"type": "string",
"default": "${extensionPath}/server.py",
"description": "Path to the language server script"
},
"pysparkle.server.launchArgs": {
"type": "array",
"default": [],
"description": "Additional arguments to pass to the language server"
}
}
},
"semanticTokenScopes": [
{
"scopes": {
"primitive": [
"storage.type"
],
"constant": [
"variable.other.constant"
],
"module": [
"entity.name.namespace"
],
"error": [
"invalid"
]
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src",
"test": "vscode-test",
"format": "prettier --write ."
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "20.x",
"@types/vscode": "^1.96.0",
"@typescript-eslint/eslint-plugin": "^8.17.0",
"@typescript-eslint/parser": "^8.17.0",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"eslint": "^9.16.0",
"prettier": "3.4.2",
"typescript": "^5.7.2"
},
"dependencies": {
"vscode-languageclient": "^9.0.1"
}
}