[SOLVED] Editor: Suggested word destroy the next word Follow
If, for example, I have a method:
static Mymethod ()
And I want to add the word "private" in front of it:
- I position the cursor in front of the beginning of the word "static"
- I type "p" and after I hit Tab
- This erases the word "static" and switches it to "private".
In this case I'm always required to manually insert a space before the word on the right, to prevent it from being deleted.
The correct thing would be that the word on the right was not deleted.
How to fix this?
Please sign in to leave a comment.
Tab will replace the word, Enter will add the word before. This behavior is by design so that you can choose the completion type depending on the situation.
Thank you very much!
Ive had this issue for years. I thought it was probably some plugin I had installed and that I'd probably never be able to figure out what was causing this seemingly unexpected, unintuitive behavior. Not sure I understand this:
Why isnt the default behavior (the most inutive to other tab actions in JB (as well as many other apps) to switch this and for tab to auto insert the word without deleting the next word and for enter to allow you to choose the completion type - assuming its not the first one in the suggeted list?