Closed demoj1 closed 1 year ago
That's tough luck... When the entity is indexed as a whole, the goto function doesn't find it. It appears that the goto function is not entity/syntax scoped. There might be better luck asking on Sublime Discord. https://forum.sublimetext.com/t/sublime-text-discord-server/26063
Yeah, I agree, it's tough luck. Not much we can do about it. It's a limitation of Sublime Text and I doubt they're gonna fix this or enhance it any time soon. It should ideally get the list of all symbols from the language server and maybe prioritize the module name over its fully qualified name when filtering...
Closing this because there's no real solution afaik.
Hi, thanks for work.
I have a large code base with many nested modules. I often use sublime function "find symbol in project". But sublime show only tail name, it make difficult find deep nested modules.
For example, i have set of modules:
Foo.A.B.C.D.E.Repo
Bar.A.B.C.D.E.Repo
Buzz.A.B.C.D.E.Repo
When i call "find symbol in project" and type Repo, i see only one variant, but i would like start with: "Foo.A.B" and see what modules are there.
Click enter
For fix it i changed it rule:
To:
Now i can use fuzzy search like that:
Or if I want to restrict the search starting from:
But it break sublime goto, previously, i could put the cursor on the last part of the module name and press goto, now I can't, I have to select the module as a whole.
Maybe there is some way to fix it?