Created
March 26, 2021 10:53
-
-
Save agjs/3acbbd9ea850442a0af18cc8f923586b to your computer and use it in GitHub Desktop.
Format .erb templates and ruby files inside VSCode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Details at: https://aleksandar.xyz/blog/formatting-ruby-and-erb-in-vscode/ | |
"files.associations": { | |
"*.erb": "erb" | |
}, | |
"[erb]": { | |
"editor.formatOnSave": true, | |
"editor.defaultFormatter": "aliariff.vscode-erb-beautify", | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment