Prospolon
Prospolon

Reputation: 391

Intelligent string replacement/completion in IDEA 11 Ultimate

IntellJ IDEA 11 has a bizarre way of replacing / completing the text I insert.

Suppose a string value is "oldXML". When I edit it, IDEA helpfully suggests a value "theOldXML". I happily press enter, to accept the change.

To my surprise, IDEA doesn't replace the old value with the new one (like Netbeans, or most IDEs I know); it prepends it, so the result would be "theOldXMLoldXML", which is nonsense.

Is it possible to change this behavior?

Upvotes: 3

Views: 105

Answers (1)

Peter Gromov
Peter Gromov

Reputation: 19001

Use Tab instead of Enter to choose the suggestion, it'll overwrite the whole identifier then

Upvotes: 5

Related Questions