Wrapping selections in quotes, braces etc.
In TextMate and Netbeans I can write the following type of thing
foo => bar
I can select 'foo' and type a quote, " and this will result in "foo" i.e. wraps the selection in quotes the same works for (, {, [ ' etc.
Can I do this in Rubymine? I've looked through the preferences and can't find anything that would do it?
Thanks
John.
Please sign in to leave a comment.
Hello John,
In RubyMine you can type
then type quote, brace etc, and it will be automatically completed with corresponding brace or quote. You`ll get
and start type bar immediately.
Thanks,
Oleg
I know that, but sometimes when changing existing text you want to wrap something in quotes (or braces etc.) that wasn't orignally quoted, I found it quite a useful feature in Netbeans.
John