-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
169 lines (169 loc) · 5.79 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
{
"name": "query-editor-boost",
"displayName": "Query Editor Boost",
"description": "Helpful add-ons for query editing",
"version": "0.4.1",
"publisher": "drewsk",
"engines": {
"vscode": "^1.38.0",
"azdata": "^1.15.0"
},
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/dzsquared/query-editor-boost.git"
},
"activationEvents": [
"*"
],
"main": "./dist/extension",
"contributes": {
"commands": [
{
"command": "dsk.useDatabase",
"title": "QE Boost: Use Database",
"when": "queryEditorVisible && connectionProvider == 'MSSQL'"
},
{
"command": "dsk.newqueryoption",
"title": "QE Boost: New Query",
"icon": {
"light": "./dist/src/media/newquery.svg",
"dark": "./dist/src/media/newquery-inverse.svg"
}
},
{
"command": "dsk.createQueryTemplate",
"title": "QE Boost: Set New Query Template",
"when": "queryEditorVisible"
},
{
"command": "dsk.addSnippetPlaceholder",
"title": "QE Boost: Add Snippet Placeholder",
"when": "queryEditorVisible"
},
{
"command": "dsk.addSnippetVariable",
"title": "QE Boost: Add Snippet Variable",
"when": "queryEditorVisible"
},
{
"command": "dsk.saveNewSnippet",
"title": "QE Boost: Save New Snippet",
"when": "queryEditorVisible"
},
{
"command": "dsk.runQuerySection",
"title": "QE Boost: Run Query Section",
"when": "queryEditorVisible && qeb.EagerRunQuery"
}
],
"keybindings": [
{
"key": "ctrl+u",
"command": "dsk.useDatabase",
"when": "queryEditorVisible"
},
{
"key": "ctrl+n",
"command": "dsk.newqueryoption"
},
{
"key": "ctrl+shift+e",
"command": "dsk.runQuerySection",
"when": "queryEditorVisible && qeb.EagerRunQuery"
},
{
"key": "cmd+u",
"command": "dsk.useDatabase",
"when": "queryEditorVisible && isMac"
},
{
"key": "cmd+n",
"command": "dsk.newqueryoption",
"when": "isMac"
},
{
"key": "cmd+shift+e",
"command": "dsk.runQuerySection",
"when": "queryEditorVisible && isMac && qeb.EagerRunQuery"
}
],
"menus": {
"objectExplorer/item/context": [
{
"command": "dsk.newqueryoption",
"when": "nodeType && nodeType == Server",
"group": "QEB"
},
{
"command": "dsk.newqueryoption",
"when": "nodeType && nodeType == Database",
"group": "QEB"
}
]
},
"configuration": [
{
"title": "Query Editor Boost",
"properties": {
"newquerytemplate.DefaultQueryTemplate": {
"type": "array",
"default": [
"--set a default new query template with the command QE Boost: Set New Query Template",
"",
""
],
"description": "Query text to insert into new query windows"
},
"newquerytemplate.DefaultQueryLine": {
"type": "number",
"default": -1
},
"newquerytemplate.DefaultQueryCharacter": {
"type": "number",
"default": -1
},
"queryeditorboost.EagerRunQuery": {
"type": "boolean",
"default": true,
"description": "Enables ctrl+shift+E keyboard shortcut to execute current query segment through 'Run Query Section' command"
},
"queryeditorboost.telemetry": {
"type": "boolean",
"default": true,
"description": "Enable usage data to be sent to an online service"
}
}
}
]
},
"scripts": {
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install && node ./node_modules/azdata/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test",
"proposedapi": "node installTypings.js",
"vscode:uninstall": "node ./dist/uninstallQEB"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.43",
"azdata": "1.0.0",
"file-loader": "^5.0.2",
"ts-loader": "^6.2.1",
"typescript": "^2.6.1",
"vscode": "^1.1.6",
"webpack": "^4.41.5",
"webpack-cli": "^3.3.10"
},
"dependencies": {
"jsonc-parser": "^2.2.0",
"vscode-extension-telemetry": "^0.1.2"
}
}