defaultexternaltoolsrc 4.21 KB
Newer Older
Dominik Haumann's avatar
Dominik Haumann committed
1
[Global]
2
tools=15
3
version=1
Dominik Haumann's avatar
Dominik Haumann committed
4

5
[Tool 0]
6
actionName=externaltool_gitcola
7
arguments=-r %{Document:Path}
8
9
10
11
category=Git
cmdname=git-cola
executable=git-cola
icon=git-cola
Dominik Haumann's avatar
Dominik Haumann committed
12
13
input=
mimetypes=
14
name=git-cola
15
output=Ignore
Dominik Haumann's avatar
Dominik Haumann committed
16
reload=false
17
save=None
Dominik Haumann's avatar
Dominik Haumann committed
18
workingDir=
19

20
[Tool 1]
21
actionName=externaltool_gitk
Dominik Haumann's avatar
Dominik Haumann committed
22
arguments=
23
24
25
category=Git
cmdname=gitk
executable=gitk
Dominik Haumann's avatar
Dominik Haumann committed
26
27
28
icon=git-gui
input=
mimetypes=
29
name=gitk
30
output=Ignore
Dominik Haumann's avatar
Dominik Haumann committed
31
reload=false
32
save=None
33
workingDir=%{Document:Path}
34

35
[Tool 2]
36
actionName=externaltool_gitblame
37
arguments=gui blame --line=%{Document:Cursor:Line} %{Document:FileName}
38
39
40
category=Git
cmdname=git-blame
executable=git
Dominik Haumann's avatar
Dominik Haumann committed
41
42
43
icon=
input=
mimetypes=
44
name=git blame
45
output=Ignore
Dominik Haumann's avatar
Dominik Haumann committed
46
reload=false
47
save=CurrentDocument
48
workingDir=%{Document:Path}
Dominik Haumann's avatar
Dominik Haumann committed
49

50
51
52
[Tool 3]
actionName=externaltool_RunShellScript
arguments=-e sh -c "cd %{Document:Path} && pwd && chmod -vc a+x %{Document:FileName} && ./%{Document:FileName} ; echo Press any key to continue. && read -n 1"
Dominik Haumann's avatar
Dominik Haumann committed
53
category=Tools
54
55
56
cmdname=run-script
executable=konsole
icon=system-run
Dominik Haumann's avatar
Dominik Haumann committed
57
input=
58
59
mimetypes=
name=Run Shell Script
60
output=Ignore
Dominik Haumann's avatar
Dominik Haumann committed
61
reload=false
62
save=CurrentDocument
63
workingDir=%{Document:Path}
Dominik Haumann's avatar
Dominik Haumann committed
64

65
66
[Tool 4]
actionName=externaltool_GoogleSelectedText
67
arguments="https://www.google.com/search?q=%{PercentEncoded:%{Document:Selection:Text}}"
68
69
70
71
72
73
74
75
76
77
78
79
80
category=Tools
cmdname=google
executable=xdg-open
icon=globe
input=
mimetypes=
name=Google Selected Text
output=Ignore
reload=false
save=None
workingDir=

[Tool 5]
Dominik Haumann's avatar
Dominik Haumann committed
81
actionName=externaltool_InsertUUID
82
arguments=%{UUID}
Dominik Haumann's avatar
Dominik Haumann committed
83
84
category=Tools
cmdname=uuid
85
executable=echo
Dominik Haumann's avatar
Dominik Haumann committed
86
87
88
89
icon=
input=
mimetypes=
name=Insert UUID
90
output=InsertAtCursor
Dominik Haumann's avatar
Dominik Haumann committed
91
reload=false
92
save=None
Dominik Haumann's avatar
Dominik Haumann committed
93
94
workingDir=

95
[Tool 6]
Dominik Haumann's avatar
Dominik Haumann committed
96
actionName=externaltool_ClangFormatFullFile
97
arguments=-i %{Document:FileName}
Dominik Haumann's avatar
Dominik Haumann committed
98
99
100
101
102
103
104
category=Tools
cmdname=clang-format-file
executable=clang-format
icon=
input=
mimetypes=
name=Clang Format Full File
105
output=Ignore
Dominik Haumann's avatar
Dominik Haumann committed
106
reload=true
107
save=CurrentDocument
108
workingDir=%{Document:Path}
Dominik Haumann's avatar
Dominik Haumann committed
109

110
[Tool 7]
Dominik Haumann's avatar
Dominik Haumann committed
111
actionName=externaltool_ClangFormatSelectedText
112
arguments=-assume-filename=%{Document:FileName}
Dominik Haumann's avatar
Dominik Haumann committed
113
114
115
116
category=Tools
cmdname=clang-format-selection
executable=clang-format
icon=
117
input=\s%{Document:Selection:Text}
Dominik Haumann's avatar
Dominik Haumann committed
118
119
mimetypes=
name=Clang Format Selected Text
120
output=ReplaceSelectedText
Dominik Haumann's avatar
Dominik Haumann committed
121
reload=false
122
save=None
123
workingDir=%{Document:Path}
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138

[Tool 8]
actionName=externaltool_QtQuick2Previewqmlscene
arguments=%{Document:FileName}
category=Qt
cmdname=qml-preview
executable=qmlscene
icon=
input=
mimetypes=text/x-qml
name=Qt Quick 2 Preview (qmlscene)
output=Ignore
reload=false
save=CurrentDocument
workingDir=%{Document:Path}
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

[Tool 9]
actionName=externaltool_JSONFormatFullFile
arguments='.' %{Document:FileName}
category=Tools
cmdname=json-format-file
executable=jq
icon=application-json
input=
mimetypes=
name=JSON Format Full File
output=ReplaceCurrentDocument
reload=false
save=CurrentDocument
workingDir=%{Document:Path}

[Tool 10]
actionName=externaltool_XMLFormatFullFile
arguments=--format %{Document:FileName}
category=Tools
cmdname=xml-format-file
executable=xmllint
icon=application-xml
input=
mimetypes=
name=XML Format Full File
output=ReplaceCurrentDocument
reload=false
save=CurrentDocument
workingDir=%{Document:Path}
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
202
203
204
205
206
207
208
209
210
211
212
213

[Tool 11]
actionName=externaltool_GoFmt
arguments=%{Document:FileName}
category=Tools
cmdname=gofmt-full-file
executable=gofmt
icon=text-x-go
input=
mimetypes=text/x-go
name=Go Fmt Full File
output=ReplaceCurrentDocument
reload=false
save=CurrentDocument
workingDir=%{Document:Path}

[Tool 12]
actionName=externaltool_RustFmt
arguments=--emit stdout %{Document:FileName}
category=Tools
cmdname=rustfmt-full-file
executable=rustfmt
icon=text-x-rust
input=
mimetypes=text/x-rust
name=Rust Fmt Full File
output=ReplaceCurrentDocument
reload=false
save=CurrentDocument
workingDir=%{Document:Path}

[Tool 13]
actionName=externaltool_Prettier
arguments=%{Document:FileName}
category=Tools
cmdname=prettier-format-full-file
executable=prettier
icon=
input=
mimetypes=
name=Prettier Format Current File
output=ReplaceCurrentDocument
reload=false
save=CurrentDocument
workingDir=%{Document:Path}
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228

[Tool 14]
actionName=externaltool_GoImports
arguments=%{Document:FileName}
category=Tools
cmdname=goimports-full-file
executable=goimports
icon=text-x-go
input=
mimetypes=text/x-go
name=GoImports Full File
output=ReplaceCurrentDocument
reload=false
save=CurrentDocument
workingDir=%{Document:Path}