Skip to content

nguyenxuanhung-rightsvn/vscode-rails-fast-nav

 
 

Repository files navigation

Rails Fast Nav Test status

Commands to move between files in a Rails application.

Features

  • Navigate to all known files (alt+r) [command.railsFastNavigation]
  • Switch to model [command.railsFastSwitchToModel]
  • Switch to model test [command.railsSwitchToModelTest]
  • Switch to controller [command.railsSwitchToController]
  • Switch to controller test [command.railsSwitchToControllerTest]
  • Switch to view [command.railsFastSwitchToView]
  • Switch to test/spec [command.railsFastSwitchToTest] + alias [command.railsFastSwitchToSpec]
  • Switch to fixture [command.railsFastSwitchToFixture]
  • Switch to grape api [command.railsSwitchToGrapeApi]
  • Create View [command.railsCreateView]
  • Create Spec [command.railsCreateSpec]

Screenshot

Example

Configuration

Set the Rails app directory if you have a non-standard directory layout:

"rails.appDir": "lib/app"

Change the default Rails grape directory from app/grape to app/controller/grape:

"rails.grapeDir": "controllers/grape"

Change the default view extension from html.erb:

"rails.viewFileExtension": "json.jbuilder"

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.7%
  • JavaScript 2.3%
  • Ruby 1.0%