core icon indicating copy to clipboard operation
core copied to clipboard

texteditor lookup should first look for symbol name in symbols -- jump to that

Open rcoreilly opened this issue 1 year ago • 1 comments

Describe the feature

Ctrl+L is lookup, only opens a file at this point -- should first look for symbol in list of symbols and jump directly to that if found.

Relevant code

No response

rcoreilly avatar Feb 18 '24 20:02 rcoreilly

It is Ctrl+, btw, and via a fairly circuitous route, it ends up in CodeView.LookupFun(), in codev/editor.go, wherein it calls Lang.Lookup, which ends up in golang.Lookup, in golang/complete.go, which does a bunch of complicated stuff.. need to dive into that.

rcoreilly avatar Feb 19 '24 08:02 rcoreilly