-
-
Notifications
You must be signed in to change notification settings - Fork 299
/
GoSublime.sublime-commands
183 lines (183 loc) · 3.86 KB
/
GoSublime.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
[
{
"caption": "GoSublime: Restart Margo",
"command": "margo_restart_agent",
},
{
"caption": "GoSublime: Edit Margo Extension",
"command": "margo_open_extension",
},
{
"caption": "GoSublime: Add/Remove package",
"command": "gs_palette",
"args": {"palette": "imports", "direct": true}
},
{
"caption": "GoSublime: List File declarations",
"command": "gs_palette",
"args": {"palette": "declarations", "direct": true}
},
{
"caption": "GoSublime: List Package declarations",
"command": "gs_browse_declarations",
"args": {"dir": "."}
},
{
"caption": "GoSublime: Show Issues",
"command": "margo_issues",
},
{
"caption": "GoSublime: User Commands",
"command": "margo_user_cmds",
},
{
"caption": "GoSublime: Go to last bookmark",
"command": "gs_palette",
"args": {"palette": "jump_back"}
},
{
"caption": "GoSublime: Go to imports section",
"command": "gs_palette",
"args": {"palette": "jump_to_imports"}
},
{
"caption": "GoSublime: Fmt and save",
"command": "gs_fmt_save"
},
{
"caption": "GoSublime: Fmt and save as ...",
"command": "gs_fmt_prompt_save_as"
},
{
"caption": "GoSublime: Run build command",
"command": "gs9o_build"
},
{
"caption": "GoSublime: Replay current package",
"command": "gs9o_open",
"args": {"run": ["replay"]}
},
{
"caption": "GoSublime: Share (on play.golang.org)",
"command": "gs9o_open",
"args": {"run": ["share"]}
},
{
"caption": "GoSublime: Goto Definition",
"command": "gs9o_open",
"args": {"run": ["goto.definition"], "focus_view": false, "show_view": false},
},
{
"caption": "GoSublime: Show documentation hint",
"command": "gs_doc",
"args": {"mode": "hint"}
},
{
"caption": "GoSublime: Fmt the current file (without saving it)",
"command": "gs_fmt"
},
{
"caption": "GoSublime: New Go File",
"command": "gs_new_go_file"
},
{
"caption": "GoSublime: Browse Declarations",
"command": "gs_browse_declarations"
},
{
"caption": "GoSublime: Browse Packages",
"command": "gs_browse_packages"
},
{
"caption": "GoSublime: Browse Files",
"command": "gs_browse_files"
},
{
"caption": "GoSublime: Run Tests",
"command": "gs_test"
},
{
"caption": "GoSublime: Show call tip",
"command": "gs_show_call_tip"
},
{
"caption": "GoSublime: Show last build output",
"command": "show_panel",
"args": {"panel": "output.exec"}
},
{
"caption": "GoSublime: Show/Cancel pending tasks",
"command": "gs_show_tasks"
},
{
"caption": "GoSublime: Cancel the currently executing command",
"command": "exec",
"args": { "kill": true }
},
{
"caption": "GoSublime: Activate 9o",
"command": "gs9o_open"
},
{
"caption": "GoSublime: (9o) open file/url",
"command": "gs9o_open_selection"
},
{
"caption": "GoSublime: Default Settings",
"command": "open_file",
"args": {
"file": "${packages}/GoSublime/GoSublime.sublime-settings"
}
},
{
"caption": "GoSublime: User Settings",
"command": "open_file",
"args": {
"file": "${packages}/User/GoSublime.sublime-settings"
}
},
{
"caption": "GoSublime: Changes & Announcements",
"command": "open_file",
"args": {
"file": "${packages}/GoSublime/CHANGELOG.md"
}
},
{
"caption": "GoSublime: Read Me",
"command": "open_file",
"args": {
"file": "${packages}/GoSublime/README.md"
}
},
{
"caption": "GoSublime: Usage & Tips",
"command": "open_file",
"args": {
"file": "${packages}/GoSublime/USAGE.md"
}
},
{
"caption": "GoSublime: Authors & Contributors",
"command": "open_file",
"args": {
"file": "${packages}/GoSublime/AUTHORS.md"
}
},
{
"caption": "GoSublime: License (MIT)",
"command": "open_file",
"args": {
"file": "${packages}/GoSublime/LICENSE.md"
}
},
{
"caption": "GoSublime: Do a sanity check",
"command": "gs_sanity_check"
},
{
"caption": "GoSublime: Open Error Log",
"command": "gs_open_home_path",
"args": { "fn": "log.txt" }
}
]