-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathpackage.json
More file actions
106 lines (106 loc) · 2.71 KB
/
package.json
File metadata and controls
106 lines (106 loc) · 2.71 KB
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
{
"name": "vscode-sql-beautify",
"displayName": "SQL Beautify",
"description": "More Powerful extension that beautifies SQL/一键美化你的SQL",
"version": "0.3.22",
"publisher": "clarkyu",
"engines": {
"vscode": "^1.5.0"
},
"keywords": [
"hive",
"sql",
"formatters",
"格式化",
"美化",
"beautify"
],
"categories": [
"Formatters"
],
"activationEvents": [
"onLanguage:sql",
"onLanguage:hive-sql",
"onCommand:extension.beautifySql"
],
"repository": {
"type": "git",
"url": "https://github.com/clarkyu2016/sql-beautify.git"
},
"main": "./extension",
"contributes": {
"commands": [
{
"command": "extension.beautifySql",
"title": "Beautify SQL"
}
],
"keybindings": [
{
"command": "extension.beautifySql",
"key": "alt+shift+f",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /sql/ "
},
{
"command": "extension.beautifySqlddl",
"key": "alt+shift+l",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /sql/ "
},
{
"command": "extension.extractDdl",
"key": "alt+shift+;",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /sql/ "
}
],
"configuration": {
"type": "object",
"title": "Beautify SQL",
"properties": {
"extension.uppercase": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Convert keywords to uppercase/将关键词转变为大写"
},
"extension.comma_location": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Fix the comma location to the end of the line/把逗号放在字段后面(不建议开启)"
},
"extension.bracket_char": {
"scope": "resource",
"type": "boolean",
"default": false,
"description": "Use whitespace to replace Tab in the indentation of subquery /在子查询缩进场景中,把制表符替换成四个空格"
},
"extension.as_loc_cnt": {
"scope": "resource",
"type": "number",
"default": 150,
"description": "Set max length of the column to align words after `as` /自定义当你的字段长度超过多少字符,不参加as对齐(整个字段长度包括as后面的列名)"
}
}
}
},
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install"
},
"icon": "images/icon.png",
"dependencies": {
"vkbeautify": "0.99.1"
},
"devDependencies": {
"vscode": "^0.11.0"
},
"__metadata": {
"id": "3422b2ca-7151-4627-b7ce-adf888562d04",
"publisherId": "b095b96a-0807-4555-a2ff-b774781d6e68",
"publisherDisplayName": "clarkyu",
"isPreReleaseVersion": false,
"installedTimestamp": 1662287892731,
"targetPlatform": "undefined",
"updated": true,
"preRelease": false
}
}