Open basaran opened 3 years ago
It turns out that the current implementation (ListItemHandler) now allows me getting the user input text string from the prompt, so I cannot use it as a source to match and highlight text inside editor, but I will keep researching and do other tries for this neat feature :)
That will be great, I'm not familiar too much with python and sublime's api. But their LSP seems to be using quickpanel. Not sure if it's helpful to you but here it is:
https://github.com/sublimelsp/LSP/blob/main/plugin/symbols.py
hello, just following up :)
Hi, it's me again :)
Do you think it's okay to have some sort of highlighting on the matched text inside the editor? Something like a poor man's LSP:
I found this inside the LSP source code for LSP_DOCUMENT_SYMBOLS:
self.view.add_regions(self.REGIONS_KEY, [region], self.scope(index), '', sublime.DRAW_NO_FILL)