Hi,
I use ST3 Build 3176 and I am adding a feature to this LSP plugin and I want a experience similar to show_quick_panel. But instead:
- as the user is typing
- I need to send a request to server and update the list
- then user selects a element of the list which opens a file a the right position.
Basically I don’t want sublime to filter the list given the query string (filtering is done in the server) and I want the list dynamic.
The feature is mostly implemented but I have issues with the user experience:
- I couldn’t use
show_quick_panelbecause the list is dynamic - I tried
TextInputHandlerin combination withListInputHandler, but I am not happy with the result asTextInputHandlerdoesn’t have anon_changemethod. So user have to pressenterthen a new list will appear, then as you type sublime is filtering
- I tried
show_input_panelwhich hason_changein combination withshow_quick_panelbut then as soon as the user types the quick panel steals the focus. - I tried
show_input_panelto capture input andcreate_output_panelto show results then as soon as I show the second panel the first one disappears.
So my questions:
- is it possible to show two panels at the same time? Something similar to the sublime console: instead of showing logs I would show results while user is typing
- Does anybody have alternative idea on how to implement such a feature with a better user experience? Or a plugin having similar behavior ?
Thanks