In Visual Studio code, how can I get # to automatically replace # {} in Ruby lines

Using Visual Studio Code, how can I get # to automatically replace # {} in double Ruby quotes.


I searched the Visual Studio Code Extensions Repository and did not see anything.

The autocorrect function will do this, but I don't think it is available in the editor.

I suspect this extension: https://marketplace.visualstudio.com/items?itemName=geddski.macros could give me something close so that I can achieve what I want two keys - but it would be nice to get the behavior in one keystroke as I get into Sublime, Atom and RubyMine.

+4
source share

Source: https://habr.com/ru/post/1678526/


All Articles