-
Notifications
You must be signed in to change notification settings - Fork 27
/
userscripts.yml
443 lines (389 loc) · 18.6 KB
/
userscripts.yml
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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
Sort open tabs by full path: https://github.com/AtmanActive/Komodo-Edit-Macro---Sort-open-tabs-by-full-path
Backup save: https://github.com/Defman21/komodo-savebackup
Autocomplete Files Under Path: https://github.com/Defman21/files-from-path
One-Way File Sync: https://github.com/Defman21/save-if-diff-files
Auto Toggle Panes: https://github.com/Naatan/Komodo-AutoTogglePanes
Mark Text: https://github.com/Komodo/Mark-Text-Macro
CSS Color Palette: https://github.com/mahonnaise/Komodo-Macros
Markdown Preview: https://github.com/ivoryworks/komodo-markdown-aid
JSEval: https://github.com/tenbits/komodo-macro-jseval
Tag Navigation: https://github.com/krizoek/komodo-tag-navigation
Tag Index Generator: https://github.com/krizoek/komodo-tag-index-generator
Comment Storage: https://github.com/krizoek/komodo-comment-storage
Windows Run cmd - Custom menu: https://github.com/babobski/Windows-Run-cmd-Custom-menu
Windows Run cmd - Custom toolbar: https://github.com/babobski/Windows-Run-cmd-Custom-toolbar
SVG to CSS, images to BASE64 to CSS: https://github.com/bigbigmdm/KOMODO-CSS-PERCENT-ENCODER
Copy Find Results:
owner:
login: toddw-as
gravatar_id: fbf0600881da69934bad33192694d484
html_url: https://github.com/toddw-as
description: This macro will allow you to copy all of the find results to your clipboard.
readme:
content: >
# Copy Find Results to Clipboard
This macro will allow you to copy all of the find results to your clipboard.
## Usage
1. Install the Macro (drag the .komodotool into your toolbox)
2. Assign a Keybind to your macro (right click > Properties > Key Binding)
3. Search for some text across your files and execute the macro with your keybinding.
homepage: https://github.com/Komodo/macros
raw_url: https://github.com/Komodo/macros/blob/master/find_results_copy.js
created_at: 2014-03-24
updated_at: 2014-03-24
Open Terminal Here:
owner:
login: Naatan
gravatar_id: 0bba0ddcdbb7fa3de8455389251e2f6d
html_url: https://github.com/Naatan
description: Adds an "Open Terminal Here" menu item to folder items in the Places widget
readme:
content: Adds an "Open Terminal Here" menu item to folder items in the Places widget
homepage: https://github.com/Komodo/macros
raw_url: https://github.com/Komodo/macros/blob/master/Open_Terminal_Here.js
created_at: 2014-03-24
updated_at: 2014-03-24
Create Snippet From Text:
owner:
login: cgchoffman
gravatar_id: d1a00b9762070a83e9f9dac8f615bb3d
html_url: https://github.com/cgchoffman
description: Create a snippet from selected text, add a name and automatically open properties to add keybinding.
readme:
content: >
Create a snippet from selected text, add a name and automatically open
properties to add keybinding.
A popup UI allows creation of the snippet name
## Usage
1. Install the Macro (drag the .komodotool into your toolbox)
2. Assign a Keybind to your macro (right click > Properties > Key Binding)
3. Select some text and execute the macro with your keybinding.
For more info check the [Quicky Adding Custom Snippets](http://komodoide.com/blog/2014-03/quickly-adding-custom-snippets/) blog.
homepage: https://github.com/Komodo/macros
raw_url: https://github.com/Komodo/macros/blob/master/automagic_snippets_from_text.js
created_at: 2014-03-24
updated_at: 2014-03-24
Magicalhobo's Macro's:
html_url: https://github.com/magicalhobo/KomodoMacros
readme:
content: >
Includes the macro's:
* Duplicate Selection Up/Down
* Search By Selection
* Transpose Selection
created_at: 2012-04-07
updated_at: 2012-04-07
Wrap Text:
owner:
login: toddw-as
gravatar_id: fbf0600881da69934bad33192694d484
html_url: https://github.com/toddw-as
description: Wrap the editor selection with arbitrary text. Easily enclose text with HTML tags or stringify a selection.
readme:
content: >
Wrap the editor selection with arbitrary text. Easily enclose text with HTML tags or stringify a selection.
## Usage
Execute the macro and then just start typing the wrapper name.
This is an on demand macro that will wrap the selected editor text with
arbitrary text. For HTML or XML, it will also add the opening/closing tags.
homepage: https://github.com/Komodo/macros
raw_url: https://github.com/Komodo/macros/blob/master/text_wrapper.js
created_at: 2014-02-25
updated_at: 2014-02-25
PHPDoc and JSDoc:
owner:
login: Naatan
gravatar_id: 0bba0ddcdbb7fa3de8455389251e2f6d
html_url: https://github.com/toddw-as
description: Automatically adds PHPdoc (or JSDoc) comments, including a summary, to your PHP (or JavaScript) file when you type '/**' followed by the ENTER key.
readme:
content: >
Automatically adds phpdoc comments to your php file when you type
/** followed by the ENTER key.
## Usage
Currently you can use the following snippets to add params to your
auto completions (these will have to be located in the PHP
abbreviations folder):
- phpdoc\_function
- phpdoc\_class
- phpdoc\_var
You will have to include the star symbol (\*) in front of every line and
you'll probably want to check the \"Maintain indentation context after
insertion\" option.
Contributors
---------
* Todd Whiteman
* Michal Kocarek (http://brainbox.cz/)
* Alexander Kavoun (http://takkmoil.com/)
homepage: https://github.com/Komodo/macros
raw_url: https://github.com/Komodo/macros/blob/master/phpdoc_jsdoc_autocompletion.js
created_at: 2009-02-05
updated_at: 2014-02-06
Incremental Numbering:
owner:
login: toddw-as
gravatar_id: fbf0600881da69934bad33192694d484
html_url: https://github.com/toddw-as
description: Make a column selection in the editor, then for each column insert a number and have the number incremented for each subsequent row in the selection.
readme:
content: >
Make a column selection in the editor, then for each column insert
a number and have the number incremented for each subsequent row in
the selection.
For more information see the [Adding Functionality to Komodo With Macros](http://komodoide.com/blog/2014-02/adding-new-functionality-to-komodo-with-macros/) blog
homepage: https://github.com/Komodo/macros
raw_url: https://github.com/Komodo/macros/blob/master/column_incremental_numbering.js
created_at: 2014-02-06
updated_at: 2014-02-06
Swap Assignment:
owner:
login: toddw-as
gravatar_id: fbf0600881da69934bad33192694d484
html_url: https://github.com/toddw-as
description: Switch a variable assignment (or argument) around, so foo = bar will become bar = foo.
homepage: https://github.com/Komodo/macros
raw_url: https://github.com/Komodo/macros/blob/master/swap_assignment.py
created_at: 2014-04-25
updated_at: 2014-04-25
Variable Dumper:
owner:
login: toddw-as
gravatar_id: fbf0600881da69934bad33192694d484
html_url: https://github.com/toddw-as
description: Debug helper - generates a print statement from the current word or selection.
readme:
content: >
Generates a print/debugging statement for the selection, or current word.
The generated statement is always created on a separate new line below the
current line.
This is an on demand macro, best used with a keybinding (Ctrl+. for example).
homepage: https://github.com/Komodo/macros
raw_url: https://github.com/Komodo/macros/blob/master/variable_dumper.js
created_at: 2014-03-21
updated_at: 2014-03-21
SCC Annotate:
owner:
login: toddw-as
gravatar_id: fbf0600881da69934bad33192694d484
html_url: https://github.com/toddw-as
description: Display source code control (SCC) line annotations in the left editor margin.
readme:
content: >
Macro shows source code control annotate information in the left scintilla
margin. Running the macro a second time removes the annotation margin.
This is an on demand macro, best used with a keybinding (Ctrl+K, Ctrl+A. for example).
homepage: https://github.com/Komodo/macros
raw_url: https://github.com/Komodo/macros/blob/master/scc_annotate.js
created_at: 2014-05-19
updated_at: 2014-05-19
Automagic Snippets From Text:
owner:
login: cgchoffman
gravatar_id: d1a00b9762070a83e9f9dac8f615bb3d
html_url: https://github.com/cgchoffman
description: Create a snippet from selected text, add a name and automatically open properties to add keybinding.
readme:
content: >
Create a snippet from selected text, add a name and automatically
open properties to add keybinding.
For more info check the [Quicky Adding Custom Snippets](http://komodoide.com/blog/2014-03/quickly-adding-custom-snippets/) blog.
homepage: https://github.com/Komodo/macros
raw_url: https://github.com/Komodo/macros/blob/master/automagic_snippets_from_text.js
created_at: 2014-03-05
updated_at: 2014-03-05
Byte or Char Position:
owner:
login: cgchoffman
gravatar_id: d1a00b9762070a83e9f9dac8f615bb3d
html_url: https://github.com/cgchoffman
description: Show the Byte or Char position of your cursor in the Statusbar beside Ln and Col.
readme:
content: >
Show the Byte or Char position of your cursor in the Statusbar beside Ln and Col.
For more info check the [Absolute Cursor Position in Statusbar](http://komodoide.com/blog/2014-03/show-absolute-position-in-statusbar/) blog.
homepage: https://github.com/Komodo/macros
raw_url: https://github.com/Komodo/macros/blob/master/automagic_snippets_from_text.js
created_at: 2014-03-31
updated_at: 2014-03-31
Img Tag Dimensions:
owner:
login: cgchoffman
gravatar_id: d1a00b9762070a83e9f9dac8f615bb3d
html_url: https://github.com/cgchoffman
description: Execute the macro insdie an img tag in an html file, which the src attribute filled in. The macro will load the image and input the height and width of the image attributes with the correct dimensions.
readme:
content: >
Execute the macro insdie an img tag in an html file, which the src attribute filled in.
The macro will load the image and input the height and width of the image attributes
with the correct dimensions
For more info check the [Quicky Adding Custom Snippets](http://komodoide.com/blog/2014-03/quickly-adding-custom-snippets/) blog.
homepage: https://github.com/Komodo/macros
raw_url: https://github.com/Komodo/macros/blob/master/img_dimensions.js
created_at: 2014-05-05
updated_at: 2014-05-05
SSH Commands:
owner:
login: cgchoffman
gravatar_id: d1a00b9762070a83e9f9dac8f615bb3d
html_url: https://github.com/cgchoffman
description: Run this macro with a remote file open to execute an SSH command on the remote server.
readme:
content: >
Run this macro with a remote file open to execute an SSH command on the remote server.
For more info check the [Run SSH Commands from Komodo](http://komodoide.com/blog/2014-06/run-ssh-command-from-komodo) blog.
homepage: https://github.com/Komodo/macros
raw_url: https://github.com/Komodo/macros/blob/master/ssh_commands.js
created_at: 2014-06-23
updated_at: 2014-06-23
Transpose:
owner:
login: cgchoffman
gravatar_id: d1a00b9762070a83e9f9dac8f615bb3d
html_url: https://github.com/cgchoffman
description: Run this macro to swaps the positions of the character at the current caret position and the next character in the line.
readme:
content: Run this macro to swaps the positions of the character at the current caret position and the next character in the line.
homepage: https://github.com/Komodo/macros
raw_url: https://github.com/Komodo/macros/blob/master/transpose.js
created_at: 2014-05-26
updated_at: 2014-05-26
Select Brace Contents:
owner:
login: Naatan
gravatar_id: 0bba0ddcdbb7fa3de8455389251e2f6d
html_url: https://github.com/Naatan
description: Allows easy selection of the text within xml/html braces
readme:
content: >
Let's say you have the following snippet of html:
```
<strong>This text is bold</strong>
```
With this macro you can simply put your cursor anywhere within the braces and execute the macro to select the contents of the braces (ie. the text)
This macro is very plain and fairly dumb, it will likely not be able to select complex values (eg. sub-nodes). Feel free to fork and extend.
It currently only covers html "braces" (ok, technically not braces), but support for other delimiters should be relatively easy to add.
raw_url: https://gist.github.com/Naatan/99abd413394f10dd994d
created_at: 2014-06-02
updated_at: 2014-06-02
Brace Wrap Selection:
owner:
login: toddw-as
gravatar_id: fbf0600881da69934bad33192694d484
html_url: https://github.com/toddw-as
description: Automatically adds braces around the editor text selection when a brace character ([{'\ is pressed.
readme:
content: >
Let's say you have the following text, with the bold text selected:
```
This <strong>text is selected</strong> in the middle.
```
Typing the left-paren character ( will wrap the selected text in braces, transforming the text into:
```
This <strong>(text is selected)</strong> in the middle.
```
This is best used as a startup macro, allowing brace wrapping on all editor selections.
homepage: https://github.com/Komodo/macros
raw_url: https://github.com/Komodo/macros/blob/master/brace_wrap_selection.js
created_at: 2014-06-06
updated_at: 2014-06-06
Execute As PHP:
owner:
login: Naatan
gravatar_id: 0bba0ddcdbb7fa3de8455389251e2f6d
html_url: https://github.com/Naatan
description: Quickly execute a snippet of code as PHP, the snippet can be an (unsaved) file or simply the text you currently have selected
raw_url: https://gist.github.com/Naatan/7375244
created_at: 2014-06-16
updated_at: 2014-06-16
CamelCase:
owner:
login: smelzo
html_url: https://github.com/smelzo
description: Convert/Reconvert selection/line in camelCase
raw_url: https://gist.github.com/smelzo/c66e411ae91b3fdf737e
created_at: 2014-06-29
updated_at: 2014-06-29
Worspace Save/Restore Tool:
owner:
login: cgchoffman
gravatar_id: d1a00b9762070a83e9f9dac8f615bb3d
html_url: https://github.com/cgchoffman
description: Save workspace (all open files) to a file. Does not have a project context, it simply saves all files that are open for easy reopning later.
readme:
content: Save workspace (all open files) to a file. Does not have a project context,it simply saves all files that are open for easy reopning later.
homepage: https://github.com/Komodo/macros
raw_url: https://github.com/Komodo/macros/blob/master/workspace_util.js
created_at: 2014-05-26
updated_at: 2014-05-26
Print to Output Pane:
owner:
login: cgchoffman
gravatar_id: d1a00b9762070a83e9f9dac8f615bb3d
html_url: https://github.com/cgchoffman
description: Pass input to a function to print to Komodo Output pane.
readme:
content: Pass input to a function to print to Komodo Output pane.
homepage: https://github.com/Komodo/macros
raw_url: https://github.com/Komodo/macros/blob/master/print_to_output_pane.js
created_at: 2014-08-18
updated_at: 2014-08-18
Alternative Location:
owner:
login: toddw-as
gravatar_id: fbf0600881da69934bad33192694d484
html_url: https://github.com/toddw-as
description: Open the current file at an alternative location.
readme:
content: Adds an editor tab context menuitem for opening a komodo file in an alternative location. The alternative locations are read from a *locations.ini* configuration file in the Komodo profile directory.
homepage: https://github.com/Komodo/macros
raw_url: https://github.com/Komodo/macros/blob/master/alternative_location.js
created_at: 2014-07-21
updated_at: 2014-07-21
Comment Toggle:
owner:
login: toddw-as
gravatar_id: fbf0600881da69934bad33192694d484
html_url: https://github.com/toddw-as
description: Toggle comment lines on/off in the editor.
readme:
content: >
Will toggle the comments for the selected editor lines (or current
line). I use Ctrl+3 (overriding the default cmd_comment keybinding)
to invoke this macro, then I never need to use Ctrl+2
(cmd_uncomment) at all.
## Usage
1. Install the Macro (drag the .komodotool into your toolbox)
2. Assign a Keybind to your macro (right click > Properties > Key Binding)
3. Execute the macro with your keybinding.
homepage: https://github.com/Komodo/macros
raw_url: https://github.com/Komodo/macros/blob/master/comment_toggle.py
created_at: 2014-09-03
updated_at: 2014-09-03
Multi Row Editor Tabs:
owner:
login: toddw-as
gravatar_id: fbf0600881da69934bad33192694d484
html_url: https://github.com/toddw-as
description: Multi-row editor tabs
readme:
content: >
Allows multiple rows of Komodo editor tabs. When there is not enough
horizontal room, the tabs will wrap around onto the next line.
It allows you to see all editor tabs at a glance.
## Usage
1. Install the Macro (drag the .komodotool into your toolbox)
2. Set macro to trigger on the Komodo startup event (right click > Properties > Triggers)
3. Restart Komodo.
homepage: https://github.com/Komodo/macros
raw_url: https://github.com/Komodo/macros/blob/master/editor_tabs_multiple_rows.js
created_at: 2014-10-21
updated_at: 2014-10-21
Open on GitHub:
owner:
login: Naatan
gravatar_id: 0bba0ddcdbb7fa3de8455389251e2f6d
html_url: https://github.com/Naatan
description: Opens current file location on GitHub (requires Komodo IDE 9)
raw_url: https://gist.github.com/Naatan/944d154f256558728c41
created_at: 2015-01-30
updated_at: 2015-01-30