1
votes

Let's imagine that my cursor is at [0] position and I want to move on to [1] position (the closest parentheses). How can I do that really quick in IntelliJ or any other JetBrains' product?

Of course with CTRL + ARROWS it's fast but I think there is a lack of such shortcut. If not tell me :)

//HTML
<section [0] id="home-icons" class="py-5">[1]</section>
//Java
String param[0]etres = new BufferedReader([1]);
1
There is no shortcut specifically for jumping to the closest parenthesis (and I'm not aware of any other editor which has such a shortcut).yole
@yole Wouldn't be that helpful ? How do you think?masterofdisaster
I don't quite understand why this specific action deserves a dedicated shortcut. This doesn't seem to be a very common operation.yole
Maybe try AceJump plugin? Have not used myself .. but it may help here (saw videos/gifs of how it works: plugins.jetbrains.com/plugin/7086-acejump).LazyOne
This particular use case may not be that common, but I do see added value for a somewhat more advanced version of <kbd>CTRL+ARROWS</kbd>. Which instead of just doing some camel jumps, will put the cursor on more strategic places based on the context. Like inside next attribute.Pim Hazebroek

1 Answers

0
votes