possible to get RubyMine style paren surrounding in WebStorm?

I'm a RubyMine user. I find that when I'm using WebStorm I miss RM's paren surrounding behavior. Example:

1. select text
2. type (

Webstorm: result: text is replaced with (
RubyMine: result: text is surrounded with ()

Same sort of thing happens with " and '. Is there a way to turn this on in WebStorm? I'm using Coffeescript if that's relevant.

3 comments
Comment actions Permalink

Hi Justin,

Please review your "Settings | Editor | Smart Keys | Insert pair bracket / Insert pair quote" setting (or some another there) -- seems to work OK here.

0
Comment actions Permalink

Looks like I needed to turn on "Surround selection on quote or brace". Thanks.

0
Comment actions Permalink
Looks like I needed to turn on "Surround selection on quote or brace". Thanks.

Precisely. Not sure why I have typed those options while thinking about this one ... must be Friday effect.

0

Please sign in to leave a comment.