forked from poidstotal/stataRun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
181 lines (181 loc) · 6.37 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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
{
"name": "stataRun",
"icon": "images/icon.png",
"displayName": "stataRun",
"description": "Run Stata Code from vsCode",
"version": "1.1.7",
"publisher": "Yeaoh",
"engines": {
"vscode": "^1.25.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:stataRun.runAll",
"onCommand:stataRun.runSelection",
"onCommand:stataRun.runCurrent",
"onCommand:stataRun.runDown",
"onCommand:stataRun.runFront"
],
"main": "./stataRun.js",
"contributes": {
"commands": [
{
"command": "stataRun.runAll",
"title": "stataRun: All Lines"
},
{
"command": "stataRun.runSelection",
"title": "stataRun: Selection"
},
{
"command": "stataRun.runCurrent",
"title": "stataRun: Current line"
},
{
"command": "stataRun.runDown",
"title": "stataRun: Downward Lines"
},
{
"command": "stataRun.runFront",
"title": "stataRun: Frontward Lines"
}
],
"configuration": [
{
"type": "object",
"title": "stataRun",
"properties": {
"stataRun.stataPath": {
"type": "string",
"default": "C:\\Program Files (x86)\\Stata15\\StataSE-64.exe",
"description": "Absolute path to Stata executable. Only applicable for Windows."
},
"stataRun.whichApp": {
"type": "string",
"enum": [
"stataMP",
"stataIC",
"stataSE",
"xquartz"
],
"default": "stataSE",
"description": "Which application to send code to. Only applicable for MacOS."
},
"stataRun.advancePosition": {
"type": "boolean",
"default": "false",
"description": "Cursor advances to the next line after sending the current line when there is no selection."
},
"stataRun.skipComments": {
"type": "boolean",
"default": "true",
"description": "When 'advancePosition' is true, skip lines that contain only comments"
},
"stataRun.focusWindow": {
"type": "boolean",
"default": "true",
"description": "After code is sent, bring focus to where it was sent"
},
"stataRun.pasteSpeed": {
"type": "number",
"minimum": "1.0",
"maximum": "10",
"default": "true",
"description": " This is only applicable for XQuartz. This value changes the amount of time the program waits between switching to the XQuartz window, pasting code, and sending enter'. The only way to send code to XQuartz is to use the clipboard, and the responsiveness of sending code will depend on the speed of your internet connection. If the copy-pasting isn't working, try increasing the value. Decreasing the value will run your code faster. Value must be between 0.1 and 10."
}
}
}
],
"keybindings": [
{
"key": "shift+ctrl+a",
"mac": "shift+cmd+a",
"command": "stataRun.runAll",
"when": "editorTextFocus"
},
{
"key": "shift+ctl+s",
"mac": "shift+cmd+s",
"command": "stataRun.runSelection",
"when": "editorTextFocus"
},
{
"key": "shift+ctl+c",
"mac": "shift+cmd+c",
"command": "stataRun.runCurrent",
"when": "editorTextFocus"
},
{
"key": "shift+ctl+d",
"mac": "shift+cmd+d",
"command": "stataRun.runDown",
"when": "editorTextFocus"
},
{
"key": "shift+ctl+f",
"mac": "shift+cmd+f",
"command": "stataRun.runFront",
"when": "editorTextFocus"
}
],
"menus": {
"editor/context": [
{
"when": "resourceLangId == stata",
"command": "stataRun.runAll",
"group": "stataRun"
},
{
"when": "resourceLangId == stata",
"command": "stataRun.runSelection",
"group": "stataRun"
},
{
"when": "resourceLangId == stata",
"command": "stataRun.runCurrent",
"group": "stataRun"
},
{
"when": "resourceLangId == stata",
"command": "stataRun.runDown",
"group": "stataRun"
},
{
"when": "resourceLangId == stata",
"command": "stataRun.runFront",
"group": "stataRun"
}
]
}
},
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.43",
"eslint": "^4.19.1",
"vscode": "^1.1.6"
},
"dependencies": {
"delay": "^2.0.0",
"escape-string-applescript": "^2.0.0",
"path": "0.12.7",
"run-applescript": "^3.2.0"
},
"optionalDependencies": {
"winax": "1.0.13"
},
"repository": "https://github.com/poidstotal/stataRun",
"bugs": {
"url": "https://github.com/poidstotal/stataRun/issues"
},
"keywords": [
"Stata",
"stataRun"
],
"license": "MIT"
}