andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 38 forks source link

Order ctags #151

Closed yajo closed 10 years ago

yajo commented 10 years ago

Ctags appear unsorted, which makes them less useful.

andreikop commented 10 years ago

Tags are ordered as in the source file. I like this behavior, because it saves original methods and class grouping, and helps me to understand, in which part of the file focus is now.

How would you like to sort the tags?

Btw, if you need to quickly find something - I added filtering. Press Alt+N, than type something to filter tags.

On Wed, Jan 8, 2014 at 3:03 PM, Yajo notifications@github.com wrote:

Ctags appear unsorted, which makes them less useful.

— Reply to this email directly or view it on GitHubhttps://github.com/hlamer/enki/issues/151 .

yajo commented 10 years ago

How would you like to sort the tags?

I am used to see them alphabetically sorted. I find them faster, without need to know where they are. Nested tags are inside their parents, but also ordered.

Btw, if you need to quickly find something - I added filtering. Press Alt+N, than type something to filter tags.

I have the repo version, but I'll try that when you update it. Thanks.

andreikop commented 10 years ago

Done. Switched off by default, but may be enabled in the settings.

Now tags are sorted by ASCII codes. Better algorithm might exist.

yajo commented 10 years ago

Thanks a lot!