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_panel
because the list is dynamic - I tried
TextInputHandler
in combination withListInputHandler
, but I am not happy with the result asTextInputHandler
doesn’t have anon_change
method. So user have to pressenter
then a new list will appear, then as you type sublime is filtering
- I tried
show_input_panel
which hason_change
in combination withshow_quick_panel
but then as soon as the user types the quick panel steals the focus. - I tried
show_input_panel
to capture input andcreate_output_panel
to 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