forked from mtxr/SublimeText-SQLTools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Default.sublime-commands
76 lines (76 loc) · 1.71 KB
/
Default.sublime-commands
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
[
{
"caption": "ST: Select Connection",
"command": "st_select_connection"
},
{
"caption": "ST: Execute",
"command": "st_execute"
},
{
"caption": "ST: Explain Plan",
"command": "st_explain_plan"
},
{
"caption": "ST: History",
"command": "st_history"
},
{
"caption": "ST: Type Query",
"command": "st_query"
},
{
"caption": "ST: Show Table Records",
"command": "st_show_records"
},
{
"caption": "ST: Table Description",
"command": "st_desc_table"
},
{
"caption": "ST: Function Description",
"command": "st_desc_function"
},
{
"caption": "ST: Save Query",
"command": "st_save_query"
},
{
"caption": "ST: Remove Saved Query",
"command": "st_remove_saved_query"
},
{
"caption": "ST: List and Run Saved Queries",
"command": "st_list_queries",
"args" : {"mode": "run"}
},
{
"caption": "ST: List and Open Saved Queries",
"command": "st_list_queries",
"args" : {"mode": "open"}
},
{
"caption": "ST: Format Current SQL File",
"command": "st_format"
},
{
"caption": "ST: About",
"command": "st_version"
},
{
"caption": "ST: Setup Connections",
"command": "edit_settings", "args":
{
"base_file": "${packages}/SQLTools/SQLToolsConnections.sublime-settings",
"default": "// List all your connections to DBs here\n{\n\t\"connections\": {\n\t\t$0\n\t},\n\t\"default\": null\n}"
}
},
{
"caption": "ST: Settings",
"command": "edit_settings", "args":
{
"base_file": "${packages}/SQLTools/SQLTools.sublime-settings",
"default": "// Settings in here override those in \"SQLTools/SQLTools.sublime-settings\"\n{\n\t$0\n}\n"
}
}
]