-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
154 lines (154 loc) · 5.1 KB
/
package.json
File metadata and controls
154 lines (154 loc) · 5.1 KB
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
{
"name": "sagemath-for-vscode",
"displayName": "SageMath for VScode",
"description": "An extension for SageMath support in VS Code. Includes highighting and run",
"version": "1.1.3",
"publisher": "SeanDictionary",
"license": "AGPL-3.0",
"repository": {
"type": "git",
"url": "https://github.com/SeanDictionary/SageMath-for-VScode.git"
},
"engines": {
"vscode": "^1.100.0"
},
"categories": [
"Programming Languages",
"Extension Packs",
"Debuggers"
],
"keywords": [
"sagemath",
"sage",
"mathematics",
"programming",
"coding",
"extension",
"lsp",
"ctf",
"crypto"
],
"main": "./out/extension.js",
"icon": "images/icon.ico",
"activationEvents": [],
"contributes": {
"languages": [
{
"id": "sagemath",
"aliases": [
"SageMath",
"sagemath",
"Sage",
"sage"
],
"extensions": [
".sage"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "sagemath",
"scopeName": "source.sagemath",
"path": "./syntaxes/sagemath.tmLanguage.json"
}
],
"commands": [
{
"command": "sagemath-for-vscode.runSageMath",
"title": "SageMath for VScode: Run SageMath File",
"icon": "$(play)"
},
{
"command": "sagemath-for-vscode.restartLSP",
"title": "SageMath for VScode: Restart SageMath LSP",
"icon": "$(sync)"
},
{
"command": "sagemath-for-vscode.selectCondaEnv",
"title": "SageMath for VScode: Select Conda Environment",
"icon": "$(terminal)"
}
],
"keybindings": [
{
"command": "sagemath-for-vscode.runSageMath",
"key": "F5",
"when": "editorTextFocus && editorLangId == 'sagemath'"
}
],
"configuration": {
"title": "SageMath for VScode",
"properties": {
"sagemath-for-vscode.sage.path": {
"title": "SageMath Executable Path",
"type": "string",
"default": "sage",
"markdownDescription": "Path to the SageMath executable"
},
"sagemath-for-vscode.sage.condaEnvPath": {
"title": "SageMath Conda Environment",
"type": "string",
"default": "",
"markdownDescription": "Name of the Conda environment to use for SageMath.\n\nIf not set, will use global environment."
},
"sagemath-for-vscode.LSP.useSageMathLSP": {
"title": "Use SageMath Language Server Protocol",
"type": "boolean",
"default": true,
"markdownDescription": "Enable or disable the SageMath Language Server Protocol.\n\nIt will take effect after restarting the editor."
},
"sagemath-for-vscode.LSP.LSPLogLevel": {
"title": "SageMath LSP Log Level",
"type": "string",
"enum": [
"error",
"warn",
"info",
"debug"
],
"enumDescriptions": [
"Log only errors.",
"Log warnings and errors.",
"Log informational messages, warnings, and errors.",
"Log debug messages, informational messages, warnings, and errors."
],
"default": "info",
"markdownDescription": "Log level for the SageMath Language Server Protocol."
}
}
},
"menus": {
"editor/title": [
{
"command": "sagemath-for-vscode.runSageMath",
"when": "resourceLangId == sagemath",
"group": "navigation"
}
]
},
"configurationDefaults": {
"[sagemath]": {
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.suggest.insertMode": "replace",
"editor.semanticHighlighting.enabled": true
}
}
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/node": "^24.0.1",
"@types/vscode": "^1.100.0",
"typescript": "~5.3.0"
},
"dependencies": {
"vscode-languageclient": "^9.0.1"
}
}