Reputation: 391
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
Reputation: 19001
Use Tab instead of Enter to choose the suggestion, it'll overwrite the whole identifier then
Upvotes: 5