Home Download Buy Blog Forum Support

Sorting CTRL-R

Sorting CTRL-R

Postby Ulhume on Sun Nov 20, 2011 9:34 pm

Is there any way to sort (alphabetical order) CTRL-R output ?
Ulhume
 
Posts: 12
Joined: Fri Nov 18, 2011 3:59 pm

Re: Sorting CTRL-R

Postby wbond on Wed Nov 23, 2011 3:51 pm

I do not believe so. I'm pretty sure it is sorted by a combination of factors, including how close a match it is to what you typed, and how recently you opened the file.
wbond
 
Posts: 493
Joined: Mon Feb 28, 2011 5:33 am

Re: Sorting CTRL-R

Postby loremipsum on Thu Nov 24, 2011 7:57 am

Or maybe it is not sorted since the labels given to quick_panel are an iterative keys ?
loremipsum
 
Posts: 19
Joined: Tue Nov 22, 2011 12:10 pm

Re: Sorting CTRL-R

Postby Ulhume on Fri Nov 25, 2011 8:15 am

Ok, so no default sort.

But do you know if there is a way to sort this usigng a plugin ?

I searched in the API but didn't find a way to do this. Because of the lack of outline panel, this probleme is kind of blocking for big projects.
Ulhume
 
Posts: 12
Joined: Fri Nov 18, 2011 3:59 pm

Re: Sorting CTRL-R

Postby loremipsum on Sun Nov 27, 2011 6:46 pm

I'll post you my home-made plugin tomorrow : it displays a list of attributes for a given as3 or MXML file. I guess you'll easily be able to convert it for your language and then sort the way you want the results.
loremipsum
 
Posts: 19
Joined: Tue Nov 22, 2011 12:10 pm

Re: Sorting CTRL-R

Postby loremipsum on Mon Nov 28, 2011 9:52 am

Here it is : https://github.com/lorem--ipsum/SublimeOutliner

This is my first attempt at coding in Python, so please be indulgent :-)
loremipsum
 
Posts: 19
Joined: Tue Nov 22, 2011 12:10 pm

Re: Sorting CTRL-R

Postby bizoo on Mon Nov 28, 2011 10:26 am

loremipsum wrote:Here it is : https://github.com/lorem--ipsum/SublimeOutliner

This is my first attempt at coding in Python, so please be indulgent :-)

Just take a quick look but wonder what's the difference with the standard ctrl+r ?
bizoo
 
Posts: 859
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: Sorting CTRL-R

Postby loremipsum on Mon Nov 28, 2011 10:32 am

Well, it only matches with methods or properties, depending on what you invoke. I find it quite useful...
loremipsum
 
Posts: 19
Joined: Tue Nov 22, 2011 12:10 pm

Re: Sorting CTRL-R

Postby bizoo on Mon Nov 28, 2011 10:42 am

Why couldn't you use the Symbol List config for this task ?
Take a look at:
Code: Select all
Packages\Python\Symbol List.tmPreferences
bizoo
 
Posts: 859
Joined: Wed Dec 08, 2010 6:53 am
Location: Switzerland

Re: Sorting CTRL-R

Postby loremipsum on Mon Nov 28, 2011 1:07 pm

Yes, that's interesting. I assume I could develop a cross-languages version of my plugin...
loremipsum
 
Posts: 19
Joined: Tue Nov 22, 2011 12:10 pm

Next

Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 16 guests