ActiveState Community

How many snippets can komodo swallow?

Posted by pepebe on 2009-11-05 01:37
OS: All / Any

Some more questions and feature ideas

Color picker:
What happened to the former color picker? For me, the new one is totally unusable. Is there any way to revert the color picker back to the former version. Also would it be possible to integrate something as wonderful as color zilla into komodo?

Snippet collection:
As a side project, I'm thinking about a HUGE snippet collection for komodo edit containing a large amount of snippets supporting everyday work with html, php, etc. Is there any experience, just how far you can go? How are snippets handled inside komodo and hows their impact on overall performance?

Enhance snippet properties:
Also, Is there any chance that we can get in a future release an "info" textbox inside the snippet properties dialog, where I can add information about what a snippet exactly does?

Regards,

pepebe

ericp | Thu, 2009-11-05 11:30

You can choose which color picker you want to use at
[Preferences|Fonts and Colors|Color Picker to use].
You didn't specify which OS you're using, but the choice
is different in each one. One of the big advantages
with John Dyer's is that you can enter a color by its
RGB or decimal values.

Snippets are currently stored in Komodo project and
toolbox files, which are XML files with the same format.
(In fact, a toolbox is a specialized kind of project.)
Searching for a particular snippet is proporitional
to the number of snippets you have in that project
(linear, not worse). CS folks call this "O(n)".

We are talking about supporting file-based snippets
for version 6. Finding a snippet would still be O(n),
but it would be more convenient to sling them around.

As for the info, I added a change to 5.2.2, where only
the first word of a snippet is used as an abbreviation.
This touches on your request. Please feel free to file
a feature request at
http://bugs.activestate.com/enter_bug.cgi?product=Komodo
for an info field.

Regards,
Eric