2 comments
Comment actions Permalink
function bar() {
  return "Hello World!"
}

Let's see. If I select the { after function ( or the " before Hello ), then use the shortcut, I can get both {  and ( or both first and second " ) selected.

And when I press backspace both can be deleted at the same time.

( or when I type ' both selected braces/quotes can be replaced by ' )

 

In my work, I often have the situation above and I hope there is a shortcut.

Is this feature possible? or is there a replacement for this shortcut?

Thanks in advance!

0
Comment actions Permalink

there is no such feature (the matching brace is auto-highlighted on putting cursor on opening/closing brace, but it's not selected and thus can't be removed). Related feature request: https://youtrack.jetbrains.com/issue/IDEA-152232

0

Please sign in to leave a comment.