VSCode formatOnSave
See original GitHub issueMetadata
- Ruby version: 2.5.1
- @prettier/plugin-ruby version: 0.6.1
Errything looks good from cmd/cli! 👏
The vs-code prettier plugin seems to reach for another tool? I’ve fooled around with a .prettierrc
also, but I’m assuming this is still too new for the vscode plugin to have this parser integrated?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:20 (5 by maintainers)
Top Results From Across the Web
How do you format code on save in VS Code - Stack Overflow
VS Code - Open Settings Command Image. Type 'format' in the search box and enable the option 'Format On Save'. enter image description...
Read more >User and Workspace Settings - Visual Studio Code
To open the Settings editor, use the following VS Code menu command: On Windows/Linux - File > Preferences > Settings; On macOS -...
Read more >VSCode Format On Save – everything you need to know
Enable/Disable Format On Save · Open up VSCode Command Palette by pressing Ctrl + Shift + P. · Search and select Open Settings...
Read more >How To Auto-Format Code in VS Code - Alphr
1. Open Visual Studio Code on your computer. 2. Navigate to the extension tab on the left side of the screen. It’s represented...
Read more >VS Code tips — Format on save - YouTube
Today's VS Code tip: Format on saveAutomatically format your code when you save it. No more worrying about checking in unformatted codeUse ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just in case anyone else ends up here, I had to rebuild the
/node_modules
after installing the plugin by runningnpm i
I use the vs-code prettier plugin and it works for me with plugin-ruby. However, you have to install the plugin in the vscode plugin directory as it appears it doesn’t look inside your project or even globally for plugins.