Sublime Forum

How to make "go to definition" check within the opened files first?

#1

atm it find the files and sort them alphabetically , however i think it will be even more helpful if it show the results of the currently opened files first then the rest.

0 Likes

#2

something similar was also mentioned at

I guess you could modify Packages/Default/symbol.py navigate_to_symbol to change the order the results appear in

1 Like

#3

wow, thats a 4 years old ticket and still nothing changed :rolling_eyes:.

however, could u please tell me what should i change in the navigate_to_symbol to get it to show the current opened files results first ?

0 Likes

#4

I’m actually also looking for this. I keep modifying the wrong file because F12 jumps to the definition in another file instead of the current one

0 Likes

#5
0 Likes