Smart Keys - Jump outside closing bracket/quote behaviour is "broken" when using intellisense suggestions

Answered

To repro

* Have "Insert Paired Brackets" and "Jump outside closing bracket/quote with Tab" enabled under Smart Keys
* Enter a Java editor, type System.out.pri and then choose the println(int i) overload from the suggestions
* Both parens are inserted and the cursor is placed at the position to insert the parameter
* Type an int and hit Tab. Expected - cursor is placed outside the closing paren. Actual - a tab character is inserted

If I type the entire method, the Tab behaviour works as expected.

Is there any combination of settings which will give me the behaviour I'd expect (insert matching brackets with jumping outside on tab)? This is the one big bugbear I have after migrating from Eclipse.

1
5 comments

Hi. I was not able to reproduce it at 2018.3,  what version are you using? 

0
Avatar
Permanently deleted user

2018.3

Perhaps it is also a consequence of either the code style settings (our code has a `format ( with )` spaces around the parameter, or the ideaVIM plugin?

0

Could you please try reproducing with VIM plugin disabled.

0
Avatar
Permanently deleted user

Still occurs with vim plugin disabled. First line is fully typed up until last space inside parens, then tab key takes the caret outside the statement. Second line println overload was selected from the dropdown and then the tab key inserts characters.

2

Hi. I see a similar issue marked fixed at 2018.3: https://youtrack.jetbrains.com/issue/IDEA-199909

Could you please clarify the build and provide idea.log (Help | Show log...)?

0

Please sign in to leave a comment.