Excellent, thank you!Pls, test the Linux beta,
I confirm autocomplete is instant as expected, popup height is now dynamic without removing scrollbar and also the open popup no longer creates a window/tab in taskbar.
One more important improvement request, in my opinion: autocomplete is stealing focus when it shouldn't. Example: if I type "doc", autocomplete opens with suggestions such as "document". Then I press Shift+Home. I want to make a selection from the cursor position to the start of the line, moving the cursor to the start of the line, like selecting the word "doc" if it's the only word of the line. This should also close the autocomplete popup. This is how editors such as Notepad++ and Kate behave. On CudaText, however, the focus is automatically switched to the popup so Shift+Home does nothing, as it recognizes just "Home" as the shortcut to jump to the first item of the popup - which is already preselected. Autocomplete should only gain focus after I press up or down to navigate the list. Otherwise, combinations like Shift+Home should behave normally and also close the popup.
There's also one minor: if I press Alt+Tab to switch active window while autocomplete popup is open, I obviously want to switch to a different window/app, but it stays on CudaText because autocomplete popup is still treated as its own window, even not showing in taskbar.
Yes. The default autocomplete (non-LSP) of Notepad++ and Kate are also this way, except they are more complete, the removed .acp was missing many words.It was list of fixed words. static list. not considering the objectname before dot. poor.
As I said, I think I managed the LSP typescript-language-server to work as I expected except that it's purely restricted to usable values like variables, objects, properties. It's not working to complete random words present in the text as in the example I gave:
let array1 = ['apple', 'banana'];
let array2 = ['app
Then typing the code above, "apple" should be suggested to autocomplete, but it doesn't happen unless I have a declared variable named apple.