How to make autocomplete *replace* the element it is called on?
Hi, another newbie question here.
Is there a setting for Webstorm to make it replace the element where an autocompetion occures, instead of keep it at the end of the autocompletion's data?
For exemple :
Leads to that, when "enter" is pressed :
I'd prefere "createServer" to be totally replaced by "createClient".
Is it possible?
Please sign in to leave a comment.
Hi there,
Use Tab instead of Enter.
Thanks!
I wanted to do the opposite. I wanted to make autocomplete to not replace text next to cursor when I press Tab. And I finally found the solution to this! In
keymap
search forChoose Lookup Item
:And edit
Choose Lookup Item
,Choose Lookup Item and Insert Dot
andChoose Lookup Item Replace
accordingly. I set it like this for myself:Now I can use either Tab or Enter to choose IntelliSense items and it will not replace text next to cursor.