Using Visual Studio Code, how can I get # to be auto replaced with #{} in Ruby double quoted strings.
An 'autocorrect' function would do this but I don't think this is available in VS Code.
Other editors - Sublime, Atom, IntellIJ seem to have this 'out of the box'
Run and Debug view# To bring up the Run and Debug view, select the Run and Debug icon in the Activity Bar on the side of VS Code. You can also use the keyboard shortcut Ctrl+Shift+D.
VS Code supports multiple cursors for fast simultaneous edits. You can add secondary cursors (rendered thinner) with Alt+Click. Each cursor operates independently based on the context it sits in. A common way to add more cursors is with Shift+Alt+Down or Shift+Alt+Up that insert cursors below or above.
There is a Visual Studio Code extension called 'Auto Add Brackets in String Interpolation' by 'Ali Ariff'. It provides the required functionality.
The extension is available at: https://marketplace.visualstudio.com/items?itemName=aliariff.auto-add-brackets
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With