• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

IntelliJ code completion question

 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I am wondering if there is a keystroke in IntelliJ IDEA that will make the cursor jump over the closing quotes, parenthesis or brackets that the code completion sticks in. I know I can turn it off, but I like it, I just want to leap over the closing ") when typing something like
foo = request.getParameter("frmfoo");
thanks
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure if this helps but you can always press "End" to skip to the end of the line which would in turn skip over the above-mentioned generated characters. Of course, this is not what you would want if you were editing in the middle of a line...
Checkout this for a list of default keymaps.
 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, the keystroke map is helpful. The end key is a little too far away for efficient typing, but it will work for now. Perhaps a macro will do this for me.
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually, I just found your key combo... it is Ctrl-Right and it moves you to the end of a word. If you really plan on using this a lot then keep in mind that you can map this action to any key combo that you like, just go to Options->Keymaps. Have fun.
 
Tim McGuire
Ranch Hand
Posts: 820
IntelliJ IDE Tomcat Server VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is just what I needed. Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic