-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
160 lines (160 loc) · 3.68 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
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
{
"name": "octaveexecution",
"displayName": "Octave Execution",
"description": "Octave Language execution and keybinding support for VSCode.",
"version": "0.7.6",
"icon": "images/icon.png",
"publisher": "LucasFA",
"engines": {
"vscode": "^1.77.0"
},
"categories": [
"Programming Languages",
"Snippets"
],
"keywords": [
"Octave",
"Octave Language"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/LucasFA/vscode-octave"
},
"bugs": {
"url": "https://github.com/LucasFA/vscode-octave/issues"
},
"activationEvents": [
"onLanguage:octave"
],
"extensionKind": [
"workspace"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "octave.run",
"title": "Octave: Run Code",
"icon": "images/icon.png"
},
{
"command": "octave.runLines",
"title": "Octave: Run Selection or line"
},
{
"command": "octave.stop",
"title": "Octave: Stop Running"
}
],
"keybindings": [
{
"command": "octave.run",
"key": "ctrl+shift+enter",
"mac": "cmd+shift+enter",
"when": "editorTextFocus && editorLangId == 'octave'"
},
{
"command": "octave.runLines",
"key": "ctrl+enter",
"mac": "cmd+enter",
"when": "editorTextFocus && editorLangId == 'octave'"
}
],
"menus": {
"editor/title": [
{
"when": "resourceLangId == octave && config.octave.showRunIconInEditorTitleMenu",
"command": "octave.run",
"group": "navigation"
}
]
},
"configuration": {
"type": "object",
"title": "Octave configuration",
"properties": {
"octave.showRunIconInEditorTitleMenu": {
"type": "boolean",
"default": true,
"description": "Whether to show 'HDL Run Code' icon in editor title menu.",
"scope": "window"
},
"octave.runInTerminal": {
"type": "boolean",
"default": true,
"description": "Whether to run code in Integrated Terminal.",
"scope": "window"
},
"octave.clearPreviousOutput": {
"type": "boolean",
"default": false,
"description": "Whether to clear previous output before each run.",
"scope": "window"
},
"octave.preserveFocus": {
"type": "boolean",
"default": true,
"description": "Whether to preserve focus on code editor after code run is triggered.",
"scope": "window"
},
"octave.octaveLocation": {
"type": "string",
"description": "Full path to the octave executable. By default searches the environment PATH variable",
"scope": "window"
},
"octave.alwaysUseAbsolutePaths": {
"type": "boolean",
"default": false,
"description": "Running files in terminal will use absolute paths, instead of relative paths. Use for compatibility with files that change the working directory",
"scope": "window"
}
}
},
"languages": [
{
"id": "octave",
"aliases": [
"Octave",
"octave"
],
"extensions": [
".m"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "octave",
"scopeName": "source.octave",
"path": "./syntaxes/octave.tmLanguage.json"
}
],
"snippets": [
{
"language": "octave",
"path": "./snippets/snippets.json"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "eslint . --ext .ts"
},
"dependencies": {
"tree-kill": "^1.2.2"
},
"devDependencies": {
"@types/node": "^22.10.2",
"@types/vscode": "1.77.0"
},
"__metadata": {
"id": "c96fdc1f-a4c7-4ad2-a38d-986716a01f83",
"publisherDisplayName": "LucasFA",
"publisherId": "efc845ed-5541-42be-a7c4-c1430c45bbec",
"isPreReleaseVersion": false
}
}