Overview Version History Q & A Rating & Review
Ruby Syntax Highlighting for Visual Studio Code
Ruby, ERB and Gemfile Syntax Support.
This Extension allows for Ruby Syntax Support without needing to install language server, debugger etc. for a way to keep things simple and distraction free.
Install
Run: code --install-extension SarahRidge.vscode-ruby-syntax
Alternatively, extension can be installed via marketplace
Reload VSCode
Notes
The initial language grammar was copied from vscode-ruby which is no longer supported
ruby-lsp as the successor now maintains ruby grammars
Diffs
Added Grammar for Gemfile following bundler docs
Added Ternary :
Added Ruby Ranges .. / ...
Fixed variable recognition ending with ? or !
Fixed Comment Blocks for .erb files by adding <%# to each line
Fixed multiline arithmetic operations and regex matching collisions
References
Publish (internal)
Note: Publishing a new version of this theme is only meant for maintainers.
yarn run vs-package
yarn run vs-publish
Ruby Logo © 2006, Yukihiro Matsumoto: https://www.ruby-lang.org/en/about/logo/