-
Notifications
You must be signed in to change notification settings - Fork 183
/
Default.sublime-commands
201 lines (201 loc) · 5.49 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
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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
[
{
"caption": "Preferences: LSP Settings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/LSP/LSP.sublime-settings",
"default": "// Settings in here override those in \"LSP/LSP.sublime-settings\"\n{\n\t$0\n}\n"
}
},
{
"caption": "Preferences: LSP Key Bindings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/LSP/Default.sublime-keymap",
"user_file": "${packages}/User/Default ($platform).sublime-keymap",
"default": "[\n\t$0\n]\n",
}
},
{
"caption": "Preferences: LSP Language ID Mapping Overrides",
"command": "edit_settings",
"args": {
"base_file": "${packages}/LSP/language-ids.sublime-settings",
"user_file": "${packages}/User/language-ids.sublime-settings",
"default": "// SublimeText base scope -> LSP Language ID overrides\n{\n\t// \"source.mylanguage\": \"mylang\"\n\t$0\n}\n"
}
},
{
"caption": "Preferences: LSP Utils Settings",
"command": "edit_settings",
"args": {
"base_file": "${packages}/LSP/lsp_utils.sublime-settings",
"default": "// Settings in here override those in \"LSP/lsp_utils.sublime-settings\"\n{\n\t$0\n}\n"
}
},
{
"caption": "LSP Development: Parse VSCode Package JSON From Clipboard",
"command": "lsp_parse_vscode_package_json"
},
{
"caption": "LSP: Troubleshoot Server",
"command": "lsp_troubleshoot_server"
},
{
"caption": "LSP: Dump Window Configs",
"command": "lsp_dump_window_configs"
},
{
"caption": "LSP: Enable Language Server Globally",
"command": "lsp_enable_language_server_globally",
},
{
"caption": "LSP: Disable Language Server Globally",
"command": "lsp_disable_language_server_globally",
},
{
"caption": "LSP: Enable Language Server in Project",
"command": "lsp_enable_language_server_in_project",
},
{
"caption": "LSP: Disable Language Server in Project",
"command": "lsp_disable_language_server_in_project",
},
{
"caption": "LSP: Format File",
"command": "lsp_format_document",
},
{
"caption": "LSP: Format File With",
"command": "lsp_format_document",
"args": {"select": true}
},
{
"caption": "LSP: Format Selection",
"command": "lsp_format_document_range",
},
{
"caption": "LSP: Expand Selection",
"command": "lsp_expand_selection",
},
{
"caption": "LSP: Restart Server",
"command": "lsp_restart_server",
},
{
"caption": "LSP: Goto Symbol",
"command": "lsp_document_symbols",
},
{
"caption": "LSP: Goto Symbol in Project",
"command": "lsp_workspace_symbols"
},
{
"caption": "LSP: Goto Definition",
"command": "lsp_symbol_definition"
},
{
"caption": "LSP: Goto Type Definition",
"command": "lsp_symbol_type_definition"
},
{
"caption": "LSP: Goto Declaration",
"command": "lsp_symbol_declaration",
},
{
"caption": "LSP: Goto Implementation",
"command": "lsp_symbol_implementation",
},
{
"caption": "LSP: Goto Diagnostic",
"command": "lsp_goto_diagnostic",
"args": {
"uri": "$view_uri"
}
},
{
"caption": "LSP: Goto Diagnostic in Project",
"command": "lsp_goto_diagnostic"
},
{
"caption": "LSP: Find References",
"command": "lsp_symbol_references"
},
{
"caption": "LSP: Find References (Output Panel)",
"command": "lsp_symbol_references",
"args": {
"output_mode": "output_panel"
},
},
{
"caption": "LSP: Find References (Quick Panel)",
"command": "lsp_symbol_references",
"args": {
"output_mode": "quick_panel"
},
},
{
"caption": "LSP: Follow Link",
"command": "lsp_open_link"
},
{
"caption": "LSP: Toggle Log Panel",
"command": "lsp_toggle_server_panel",
},
{
"caption": "LSP: Toggle Diagnostics Panel",
"command": "lsp_show_diagnostics_panel"
},
{
"caption": "LSP: Rename",
"command": "lsp_symbol_rename"
},
{
"caption": "LSP: Code Action",
"command": "lsp_code_actions"
},
{
"caption": "LSP: Refactor",
"command": "lsp_code_actions",
"args": {
"only_kinds": [
"refactor"
]
},
},
{
"caption": "LSP: Source Action",
"command": "lsp_code_actions",
"args": {
"only_kinds": [
"source"
]
}
},
{
"caption": "LSP: Run Code Lens",
"command": "lsp_code_lens"
},
{
"caption": "LSP: Show Call Hierarchy",
"command": "lsp_call_hierarchy"
},
{
"caption": "LSP: Show Type Hierarchy",
"command": "lsp_type_hierarchy"
},
{
"caption": "LSP: Toggle Code Lenses",
"command": "lsp_toggle_code_lenses",
},
{
"caption": "LSP: Toggle Inlay Hints",
"command": "lsp_toggle_inlay_hints",
},
// {
// "caption": "LSP: Fold All Comment Blocks",
// "command": "lsp_fold_all",
// "args": {"kind": "comment"}
// },
]