There is no selection formatter for 'ruby'-files installed.
See original GitHub issueYour environment
vscode-ruby
version: 0.18.0- Ruby version: 2.5.0
- VS Code version: 1.24.1
- Operating System: Mac OS 10.13.5
And … the issue
I’m sorry! I know I’m breaking apart from your Issue template, but this seems more like a Feature Request than a Bug.
I just worked very hard to add Rubocop to a Ruby project so I can finally use vscode-ruby to format my Ruby code in VSCode. So now the file formatting action (OPT-SHIFT-F) will finally work.
However, it looks like selection formatting (CMD-K CMD-F) still doesn’t work. When I run that command, I get the following error message:
There is no selection formatter for ‘ruby’-files installed.
My hunch is that support for selection formatting still hasn’t been added to vscode-ruby; I could not find any Issues that existed talking about selection formatting. Regardless, I wanted to report this, at it would be very nice if this extension had selection formatting support.
Thank you!
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
v0.22.0
supports selection formattingIt is working but for
rubocop
orstandard
you can’t have any linter errors (due to the return code). #434 handles that bug.