forked from chubtoad-black/mysql-scratchpad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 4.73 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
{
"name": "mysql-scratchpad",
"displayName": "MySQL Statement Scratchpad and Execution.",
"description": "Easy mysql statement running with simple result display. Scratchpad for working with multiple statements.",
"version": "0.1.1",
"publisher": "jblack",
"license": "SEE LICENSE IN LICENSE.md",
"bugs": {
"url": "https://github.com/chubtoad-black/mysql-scratchpad/issues"
},
"homepage": "https://github.com/chubtoad-black/mysql-scratchpad/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/chubtoad-black/mysql-scratchpad.git"
},
"icon": "icon.png",
"galleryBanner": {
"color": "#8b578b",
"theme": "dark"
},
"engines": {
"vscode": "^1.10.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:mysql-scratchpad.mysqlConnect"
],
"main": "./out/src/extension",
"contributes": {
"commands": [
{
"command": "mysql-scratchpad.executeCurrentStatement",
"title": "Execute statement under cursor",
"category": "MySQL"
},
{
"command": "mysql-scratchpad.executeSelectedText",
"title": "Execute selected text as MySQL statement",
"category": "MySQL"
},
{
"command": "mysql-scratchpad.mysqlConnect",
"title": "Connect",
"category": "MySQL"
},
{
"command": "mysql-scratchpad.openScratchpad",
"title": "Open New MySQL Scratchpad",
"category": "MySQL"
},
{
"command": "mysql-scratchpad.mysqlDisconnect",
"title": "Disconnect",
"category": "MySQL"
},
{
"command": "mysql-scratchpad.executeEntireFile",
"title": "Execute entire file",
"category": "MySQL"
}
],
"menus": {
"editor/context": [
{
"command": "mysql-scratchpad.executeSelectedText",
"when": "editorHasSelection",
"group": "10_mysql"
}
]
},
"configuration": {
"type": "object",
"title": "MySQL Scratchpad Configuration",
"properties": {
"mysql-scratchpad.openResultsInNewTab": {
"type": "boolean",
"default": false,
"description": "Open mysql results in a new result tab."
},
"mysql-scratchpad.resultCacheSize": {
"type": "integer",
"default": 10,
"description": "The number of results that are cached when 'openResultsInNewTab' is set to true. The oldest result is removed when storing a new result. A setting of 0 will remove the cache limit."
},
"mysql-scratchpad.defaultMysqlPort": {
"type": "integer",
"default": 3306,
"description": "Default port when connecting to a MySQL server."
},
"mysql-scratchpad.promptForPort": {
"type": "boolean",
"default": false,
"description": "Prompt for port when making connection to a MySQL server."
},
"mysql-scratchpad.promptForDatabase": {
"type": "boolean",
"default": false,
"description": "Prompt for database to use when making a connection."
}
}
},
"keybindings": [
{
"command": "mysql-scratchpad.executeCurrentStatement",
"key": "ctrl+enter",
"mac": "cmd+enter",
"when": "editorTextFocus && editorLangId == sql"
},
{
"command": "mysql-scratchpad.executeSelectedText",
"key": "ctrl+enter",
"mac": "cmd+enter",
"when": "editorTextFocus && editorHasSelection && editorLangId == 'sql'"
}
]
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"dependencies": {
"mysql": "2.13.0"
},
"devDependencies": {
"typescript": "^2.0.3",
"vscode": "^1.0.0",
"mocha": "^2.3.3",
"@types/node": "^6.0.40",
"@types/mocha": "^2.2.32"
}
}