Changeset View
Changeset View
Standalone View
Standalone View
addons/externaltools/externaltools
- This file was added.
1 | [Global] | ||||
---|---|---|---|---|---|
2 | tools=10 | ||||
3 | version=1 | ||||
4 | | ||||
5 | [Tool 0] | ||||
6 | actionName=externaltool_RunShellScript | ||||
7 | arguments=-e sh -c "cd %{directory} && pwd && chmod -vc a+x %{filename} && ./%{filename} ; echo Press any key to continue. && read -n 1" | ||||
8 | category= | ||||
9 | cmdname=run-script | ||||
10 | executable=konsole | ||||
11 | icon=system-run | ||||
12 | includeStderr=false | ||||
13 | input= | ||||
14 | mimetypes= | ||||
15 | name=Run Shell Script | ||||
16 | output=0 | ||||
17 | reload=false | ||||
18 | save=1 | ||||
19 | workingDir=%{directory} | ||||
20 | | ||||
21 | [Tool 1] | ||||
22 | actionName=externaltool_GoogleSelectedText | ||||
23 | arguments="https://www.google.com/search?q=%{selection}" | ||||
24 | category= | ||||
25 | cmdname=google | ||||
26 | executable=xdg-open | ||||
27 | icon=globe | ||||
28 | includeStderr=false | ||||
29 | input= | ||||
30 | mimetypes= | ||||
31 | name=Google Selected Text | ||||
32 | output=0 | ||||
33 | reload=false | ||||
34 | save=0 | ||||
35 | workingDir= | ||||
36 | | ||||
37 | [Tool 2] | ||||
38 | actionName=externaltool_gitcola | ||||
39 | arguments=-r %{directory} | ||||
40 | category=Git | ||||
41 | cmdname=git-cola | ||||
42 | executable=git-cola | ||||
43 | icon=git-cola | ||||
44 | includeStderr=false | ||||
45 | input= | ||||
46 | mimetypes= | ||||
47 | name=git-cola | ||||
48 | output=0 | ||||
49 | reload=false | ||||
50 | save=0 | ||||
51 | workingDir= | ||||
52 | | ||||
53 | [Tool 3] | ||||
54 | actionName=externaltool_gitk | ||||
55 | arguments= | ||||
56 | category=Git | ||||
57 | cmdname=gitk | ||||
58 | executable=gitk | ||||
59 | icon=git-gui | ||||
60 | includeStderr=false | ||||
61 | input= | ||||
62 | mimetypes= | ||||
63 | name=gitk | ||||
64 | output=0 | ||||
65 | reload=false | ||||
66 | save=0 | ||||
67 | workingDir=%{directory} | ||||
68 | | ||||
69 | [Tool 4] | ||||
70 | actionName=externaltool_gitblame | ||||
71 | arguments=gui blame %{filename} | ||||
72 | category=Git | ||||
73 | cmdname=git-blame | ||||
74 | executable=git | ||||
75 | icon= | ||||
76 | includeStderr=false | ||||
77 | input= | ||||
78 | mimetypes= | ||||
79 | name=git blame | ||||
80 | output=0 | ||||
81 | reload=false | ||||
82 | save=1 | ||||
83 | workingDir=%{directory} | ||||
84 | | ||||
85 | [Tool 5] | ||||
86 | actionName=externaltool_QtQuick2Previewqmlscene | ||||
87 | arguments=%filename | ||||
88 | category=Tools | ||||
89 | cmdname=qml-preview | ||||
90 | executable=qmlscene | ||||
91 | icon= | ||||
92 | includeStderr=false | ||||
93 | input= | ||||
94 | mimetypes=text/x-qml | ||||
95 | name=Qt Quick 2 Preview (qmlscene) | ||||
96 | output=0 | ||||
97 | reload=false | ||||
98 | save=1 | ||||
99 | workingDir=%{directory} | ||||
100 | | ||||
101 | [Tool 6] | ||||
102 | actionName=externaltool_InsertUUID | ||||
103 | arguments= | ||||
104 | category=Tools | ||||
105 | cmdname=uuid | ||||
106 | executable=uuidgen | ||||
107 | icon= | ||||
108 | includeStderr=false | ||||
109 | input= | ||||
110 | mimetypes= | ||||
111 | name=Insert UUID | ||||
112 | output=1 | ||||
113 | reload=false | ||||
114 | save=0 | ||||
115 | workingDir= | ||||
116 | | ||||
117 | [Tool 7] | ||||
118 | actionName=externaltool_ClangFormatFullFile | ||||
119 | arguments=-i %{filename} | ||||
120 | category=Tools | ||||
121 | cmdname=clang-format-file | ||||
122 | executable=clang-format | ||||
123 | icon= | ||||
124 | includeStderr=false | ||||
125 | input= | ||||
126 | mimetypes= | ||||
127 | name=Clang Format Full File | ||||
128 | output=0 | ||||
129 | reload=true | ||||
130 | save=1 | ||||
131 | workingDir=%{directory} | ||||
132 | | ||||
133 | [Tool 8] | ||||
134 | actionName=externaltool_ClangFormatSelectedText | ||||
135 | arguments=-assume-filename=%{filename} | ||||
136 | category=Tools | ||||
137 | cmdname=clang-format-selection | ||||
138 | executable=clang-format | ||||
139 | icon= | ||||
140 | includeStderr=false | ||||
141 | input=\s%{selection} | ||||
142 | mimetypes= | ||||
143 | name=Clang Format Selected Text | ||||
144 | output=2 | ||||
145 | reload=false | ||||
146 | save=0 | ||||
147 | workingDir=%{directory} | ||||
148 | | ||||
149 | [Tool 9] | ||||
150 | actionName=externaltool_perl | ||||
151 | arguments=asdfasdfasdf | ||||
152 | category=Tools | ||||
153 | cmdname=perl | ||||
154 | executable=ls | ||||
155 | icon= | ||||
156 | includeStderr=true | ||||
157 | input= | ||||
158 | mimetypes= | ||||
159 | name=perl | ||||
160 | output=1 | ||||
161 | reload=false | ||||
162 | save=0 | ||||
163 | workingDir= |