-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
169 lines (169 loc) · 6.12 KB
/
package.json
File metadata and controls
169 lines (169 loc) · 6.12 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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
{
"name": "sagemath-for-vscode",
"displayName": "SageMath for VScode",
"description": "An extension for SageMath support in VS Code.",
"version": "2.1.2",
"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)"
},
{
"command": "sagemath-for-vscode.showLSPOutput",
"title": "SageMath for VScode: Show SageMath LSP Output",
"icon": "$(output)"
}
],
"keybindings": [
{
"command": "sagemath-for-vscode.runSageMath",
"key": "F5",
"when": "editorTextFocus && editorLangId == 'sagemath'"
}
],
"configuration": {
"title": "SageMath for VScode",
"properties": {
"sagemath-for-vscode.sage.sagePath": {
"title": "SageMath Path",
"type": "string",
"default": "sage",
"markdownDescription": "Path to the SageMath in conda environment.\n\nDefault is `sage`"
},
"sagemath-for-vscode.sage.condaPath": {
"title": "Conda Executable Path",
"type": "string",
"default": "conda",
"markdownDescription": "Path to the Conda executable.\n\nDefault is `conda`, which assumes Conda is in your system's PATH. If you encounter errors like `conda: not found`, please set this to the full path of your Conda executable."
},
"sagemath-for-vscode.sage.useGlobalEnv": {
"title": "Using Global Environment for SageMath (Unrecommended)",
"type": "boolean",
"default": false,
"markdownDescription": "Whether to use the global environment for SageMath.\n\nIf true, the extension will use the global SageMath installation instead of a conda environment."
},
"sagemath-for-vscode.sage.condaEnvPath": {
"title": "SageMath Conda Environment Path",
"type": "string",
"default": "",
"markdownDescription": "Path to the selected Conda environment for SageMath.\n\nIt only works while `sagemath-for-vscode.sage.useGlobalEnv` is false."
},
"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": "warn",
"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 ./"
},
"devDependencies": {
"@types/node": "^24.0.1",
"@types/vscode": "^1.100.0",
"typescript": "~5.3.0"
},
"dependencies": {
"vscode-languageclient": "^9.0.1"
}
}