-
Notifications
You must be signed in to change notification settings - Fork 7
Commands
All the commands availble in the extension.
Types of commands:
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
A wrapper for rails db:migrate
.
ID: tommasonegri.rails.commands.migrations.migrate
A wrapper for rails db:rollback
.
ID: tommasonegri.rails.commands.migrations.rollback
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 Routes web interface /rails/info/routes
.
ID: tommasonegri.rails.commands.info.routes
Open the Rails Project Properties web interface /rails/info/properties
.
ID: tommasonegri.rails.commands.info.properties
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
Open the Extension Wiki website in your favorite web browser.
ID: tommasonegri.rails.commands.documentation.openExtensionWiki
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
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
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.pumaServer.kill
A wrapper for bin/rails stimulus:manifest:update
.
You can use this command for updating your Stimulus manifest file.
ID: tommasonegri.rails.commands.stimulus.manifest.update
A wrapper for bin/importmap pin
.
You can use this command for pinning packages to importmap.
ID: tommasonegri.rails.commands.importmap.pin
A wrapper for bin/importmap pin
.
You can use this command for unpinning packages from importmap.
ID: tommasonegri.rails.commands.importmap.unpin