Currently I use in my project RSyntaxTextArea with Autocomplete. I can type a text and Ctrl+Space to open the autocomplete box. But I would like it to open by itself when I type the first letters of a variable like in Visual Studio Code.
I can't manage to set up this behavior despite my attempts
This should do the trick:
But in my case with lots of custom code, I had to programmatically simulate the keypress event of the autocomplete activation key (in my case, CTRL+SPACE):
With this, when the '.' character is inserted into the document, the autocomplete popup will appear as if you pressed CTRL+SPACE. You can probably adapt this idea if needed to build your solution.