-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
93 lines (93 loc) · 2.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
{
"name": "sql-transformer",
"displayName": "SQL Transformer",
"description": "SQL Transformer/formatter to enhance clarity and productivity",
"icon": "icon.png",
"version": "0.3.14",
"publisher": "QuantifiedLeap",
"author": "Roberto <@robertoleap>",
"homepage": "https://marketplace.visualstudio.com/items?itemName=QuantifiedLeap.sql-transformer",
"repository": {
"type": "git",
"url": "https://github.com/roobyz/sql-transformer"
},
"license": "Apache",
"bugs": {
"url": "https://github.com/roobyz/sql-transformer/issues"
},
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Formatters"
],
"keywords": [
"sql",
"transformer",
"transform",
"formatter",
"format",
"snowflake"
],
"activationEvents": [
"onCommand:QuantifiedLeap.sqlTransformer"
],
"main": "./src/extension.js",
"contributes": {
"languages": [
{
"id": "sql",
"extensions": [
".sql"
]
}
],
"configuration": {
"type": "object",
"title": "SQL Transformer",
"properties": {
"sqlTransformer.blockComments": {
"type": "boolean",
"default": true,
"description": "Set this to true to enable block comments (/* ,,, */) and false for line comments (-- ...). Default: true"
},
"sqlTransformer.outcomeComments": {
"type": "boolean",
"default": true,
"description": "Set this to true to enable inclusion of '/* Outcome */' comments at the final select query based WITH CTE. Enabling this allows for expanding/collapsing the final query via the VSCode margin. Default: true"
},
"sqlTransformer.startingWidth": {
"type": "integer",
"default": 5,
"description": "This is the starting margin width for queries. Default: 5"
},
"sqlTransformer.whereOneOne": {
"type": "boolean",
"default": true,
"description": "Set this to true to enable 'WHERE 1=1' filter on queries. This is helpful for enabling rapid commenting/uncommenting the first filter. Default: true"
}
}
},
"commands": [
{
"command": "QuantifiedLeap.sqlTransformer",
"title": "SQL Transformer: Format SQL"
}
],
"keybindings": [
{
"command": "QuantifiedLeap.sqlTransformer",
"key": "alt+shift+t",
"mac": "ctrl+shift+t",
"when": "editorFocus"
}
]
},
"scripts": {
"test": "node ./tests/extension-tester.js",
"build": "vsce package"
},
"devDependencies": {
"@types/vscode": "^1.60.0"
}
}