ActiveState Powered by ActiveState

ActiveState Community


Extend Toolbox

Posted by zozzz on 2008-04-24 14:56
OS: Windows

Hy! I'm extend toolbox a few extra functions and core files to easy create new macros and snippets, and easy insert this.

- Lang specified macros, snippets.
- Not lang specified functions
- Color selector popupmenu
- Line duplicate
- Clipboard History
- Text mate style snippet and macro insert + pass parameters for this

after install, restart komodo.

Good coding! :)

AttachmentSize
Extend_Toolbox.kpz36.33 KB
ExtendToolboxDocumentation.pdf156.17 KB

Florent V. | Sat, 2008-04-26 15:34

Hello,

It seems to me that some of these enhancements already exist in the great piece of work Stan created, or even in the built-in (as of Komodo 4.3) Abbreviations feature. I'm talking about anything that is snippet-related in what you shared, not about the other features.

Did you take a look at the built-in Abbreviations feature or Stan's work?

zozzz | Mon, 2008-04-28 04:11

Hi!

Stan work good, but I did not like him in him that an it is necessary to construct the snippets in a xml file. What I did there may be providing parameters to snippets or macros. + according to me very useful the clipboard history

example:
table#5,5 -> insert 5x5 table html code
rgbtohex#255,255,255 -> insert: #FFFFFF
...

ps.: sorry, but I am not on top in English

Stan | Tue, 2008-04-29 03:20

Hi there,

Looks like the snippets engines for Komodo are multiplying by the day. I hope this would only benefit the community and the quality of the releases.

Both my macro and your implementation have some features in common. I haven’t updated my thread nor have a published an update in a long time. In recent version of the engine I am working to provide support for JavaScript macros i.e. the ability to have tables generated from snippets such as “table/head/body2x2/foot” (output a 2x2 table with header and footer). Also XML snippets support parameters, i.e. input.hidden would output a hidden field whereas input.file would output a file upload control.

I am still in early stages of development (more information on planned features, check here) so for the moment anyone relying on parameters or having the snippets in the toolbox should consider using zozzz' extension instead.

zozzz | Wed, 2008-04-30 10:11

Really on identical certain dots, only for me this exterior file editing not really liked. :(

Otherwise this not implies it simply, now that I start getting used to it already the clipboard antecedents very useful :D.
The colour elector I did not use much yet, because not too I constructed it very much css-t

-->