Reputation: 3262
Here is an example of an issue I have. In Intellij if I am typing in front of String:
private statString foo = "bar";
And then I autocomplete static, String will be deleted. Is there a way to change the settings so that the autocomplete does not delete text?
Upvotes: 26
Views: 4598
Reputation: 356
Per @yole's answer, adding screenshot showing how to in Rider/IntelliJ to prevent tab from overwriting text. In Settings, change the editor actions for Choose Lookup Item and Choose Lookup Item Replace:
Upvotes: 18
Reputation: 19471
If you select from the autocomplete dropdown and press [Tab], the the selection replaces the following text.
You have to use [Return] to accept the autocomplete to have it inserted.
Upvotes: 26