-
Notifications
You must be signed in to change notification settings - Fork 7
Commands
All the commands availble in the extension.
Types of commands:
These commands are available through the Extensions menu and the Command Palette.
Switch between controller/models/etc and their respective test files.
ID: tommasonegri.rails.commands.openAlternateFile
Open the latest migration in the project.
ID: tommasonegri.rails.commands.migrations.openLatest
Display a list of all the migrations in the project and let the user open the selected one.
ID: tommasonegri.rails.commands.migrations.list
Display a list of documentations to search in and ask for research terms.
The search will use the site:documentation.website
feature of DuckDuckGo.
ID: tommasonegri.rails.commands.documentation.search
Open the Rails Guides website in your favorite web browser.
ID: tommasonegri.rails.commands.documentation.openRailsGuides
Open the Rails API website in your favorite web browser.
ID: tommasonegri.rails.commands.documentation.openRailsAPI
Open the Rails Forum website in your favorite web browser.
ID: tommasonegri.rails.commands.documentation.openRailsForum
Open the Turbo Reference website in your favorite web browser.
ID: tommasonegri.rails.commands.documentation.openTurboReference
Open the Stimulus Reference website in your favorite web browser.
ID: tommasonegri.rails.commands.documentation.openStimulusReference
These commands are available through the Editor menu and by right-clicking in a text document.
Quickly switch between <%
, <%=
& <%#
with a single shortcut.
Select a text to wrap it in ERB tags or just use ⌘-shift->
to create a tag and start typing the expression.
ID: tommasonegri.rails.commands.erb.tagSwitcher
These commands are available only through the Command Palette.
Force the extension and all the correlated services to reload.
ID: tommasonegri.rails.commands.reload
Force the About Rails sidebar view to reload itself and all the data.
ID: tommasonegri.rails.commands.sidebar.aboutRails.reload
Apply the latest migration.
ID: tommasonegri.rails.commands.pumaServer.kill
A wrapper for pkill -9 -f 'rb-fsevent|rails|spring|puma'
.
You can use this command for killing al the leftover processes that might cause issues after for example a Nova crash.
ID: tommasonegri.rails.commands.database.migrate