Ruby
Last updated
Last updated
Ruby is an interpreted, high-level, general-purpose programming language. It was designed and developed in the mid-1990s by Yukihiro “Matz” Matsumoto in Japan.
Change enable
from False
to True
in the ruby
section (cf module installation).
You can also take a look at the VSCode-Anywhere ruby module configuration.
Solargraph is compiled with brew and brew needs the native gcc package installed on your Linux distribution. If you haven't the native gcc package installed, it will fail to compile.
This extension provides enhanced Ruby language and debugging support for Visual Studio Code.
Solargraph is a language server that provides IntelliSense, code completion, and inline documentation for Ruby.
This extension allows to run your Ruby tests.
This extension allows to run your Ruby tests.
This extension allows Ruby on Rails support in VSCode.
This extension will be installed only if rails
is enabled.
This extension is a Rails i18n helper.
This extension will be installed only if rails
is enabled.
This extension is a definition and completion provider for Rails Routes.
This extension will be installed only if rails
is enabled.
This extension allows Navigation in Rails.
This extension will be installed only if rails
is enabled.
This extension provides a simple Ruby and ERB language, code snippets and ERB tag helper support for Visual Studio Code without messing with linting or debugging.
This extension will be installed only if rails
is enabled.
This extension provides haml support, with parentheses coloring, auto-close parentheses, brackets, curly braces, quote, double quote, backtick, ruby interpolations, etc.
This extension will be installed only if rails
is enabled.
This extension provides a haml linter.
This extension will be installed only if rails
is enabled.
Assuming you have installed in the default directory C:\VSCode-Anywhere
.
If rails
is set to True
:
Assuming you have installed in the default directory C:\VSCode-Anywhere
.
If rails
is set to True
:
No keybindings.
Theridk install 3
command will be executed after installing ruby.
ridk
will install all dependencies for compiling ruby modules by installing some msys2 packages.
Assuming you have installed in the default directory C:\VSCode-Anywhere
.
Assuming you have installed in the directory /home/myuser/VSCode-Anywhere
.
Enable settings / modules for ruby on rails (False
by default).
Allow installing ruby gems.
pkgs
: name of the packages to install
enabled
: True
to enable
, False
to skip (default to False
)
version
: the version of the gem package
opts
opts
is not mandatory but allows to pass additional arguments.
Extra args can be arguments described in the Saltstack gem states or can be global Saltstack arguments.
Global opts
packages settings:
gem:pkgs:opts:global
: allow passing arguments to all gem packages when installing, updating, or uninstalling a package
pm:pkgs:opts:install
: allow passing arguments to all gem packages when installing a package (cf states.gem.installed)
gem:pkgs:opts:update
: allow passing arguments to all gem packages when updating a package (cf states.gem.installed)
gem:pkgs:opts:uninstall
: allow passing arguments to <mypkg>
gem packages when uninstalling the package (cf states.gem.removed)
Specific opts
packages settings:
gem:pkgs:<mypkg>:opts:global
: allow passing arguments to <mypkg>
gem package when installing, updating, or uninstalling the package
gem:pkgs:<mypkg>:opts:install
: allow to pass arguments to <mypkg>
gem packages when installing the package (cf states.gem.installed)
gem:pkgs:<mypkg>:opts:update
: allow to pass arguments to <mypkg>
gem packages when updating the package (cf states.gem.installed)
gem:pkgs:<mypkg>:opts:uninstall
: allow to pass arguments to <mypkg>
gem packages when uninstalling the package (cf states.gem.removed)
global:
If rails
is set to True
, the following gems will be added:
Windows:
Assuming you have installed in the default directory C:\VSCode-Anywhere
.
Linux: