7ute / symbols-list

An alternate symbol list sidebar for Atom.io text editor
GNU General Public License v3.0
32 stars 24 forks source link

Alphabetical sorting doesn't work #68

Closed Kerfred closed 5 years ago

Kerfred commented 5 years ago

Wether I tick the Alphabetical Sorting checkbox or not, the symbol list is not sorted alphabetically. For information, I am editing PHP files. I have tried to restart Atom and to close and re-open the file, but same thing: the list is not sorted.

BelgianShepherd commented 5 years ago

Same here with JavaScript. Very useful if you can get it working.

overnitesoftware commented 5 years ago

Same with Perl (.pl). Any solutions yet?

overnitesoftware commented 5 years ago

@Kerfred @BelgianShepherd Found it. In file symbols-list/lib/symbols-list-view.coffee line 80 you have to change this if atom.config.get('symbols-list.alphabeticalSorting') to this: if atom.config.get('symbols-list.basic.alphabeticalSorting')

MattRiddell commented 5 years ago

Cool yeah that worked for me.

That file was in:

~/.atom/packages/symbols-list/lib

rabw commented 5 years ago

Thanks everyone, was also having this problem and the change in symbols-list-view.coffee fixed it for me.