Selected text to quoted text
The Ruby version of Netbeans allows you to select text, press the double quote key, and have the text surrounded with double quotes. You can also select text that is double quoted, and press a single quote and the text is now surrounded with a single quote. If you select text in the middle of a string and press the pound key (#), it will surround it with #{}. These are very conventient helpers when developing in ruby. Is there a similar feature in RubyMine?
Please sign in to leave a comment.
Hi Andy
+1 for this feature - I also miss this from NetBeans.
Regards, Tony
For what it's worth, this is a very handy feature in textmate too.
Tony Day wrote:
Hi guys,
I've created issues
* http://www.jetbrains.net/jira/browse/RUBY-3228
* http://www.jetbrains.net/jira/browse/RUBY-3229
* http://www.jetbrains.net/jira/browse/RUBY-3230
for your requests. Feel free to vote for them(to help us prioritize tasks), comment and watch changes
Hello guys,
We've implemented surround selection with quotes or parentheses action (http://www.jetbrains.net/jira/browse/RUBY-3228) and
surround selected text within string with #{} by typing # (http://www.jetbrains.net/jira/browse/RUBY-3228).
These features will be available if coming EAP.
Thanks,
Oleg