ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Rails​Go​To​Spec

by sporto ALL

Sublime Text 3 plug-in for going to Rails spec file

Details

  • 2019.12.10.01.00.06
    2013.10.17.22.03.58
  • github.​com
  • github.​com
  • 7 months ago
  • 2 hours ago
  • 7 years ago

Installs

  • Total 5K
  • Win 484
  • Mac 3K
  • Linux 1K
Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2
Windows 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 1 0 0 0 0 0 0 0
Mac 2 0 3 0 0 0 1 0 1 3 1 1 2 1 2 1 0 0 1 0 0 0 1 0 1 0 0 0 0 1 0 0 0 1 0 1 1 0 0 0 0 0 0 0 1
Linux 1 0 0 0 0 0 1 0 0 0 0 0 1 0 1 0 0 1 0 1 0 0 0 1 0 0 0 1 0 0 0 0 0 0 1 2 0 0 1 1 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Rails Go to Spec

A Sublime Text 3 plug-in. From a .rb file this plug-in will open the relevant spec. If the spec doesn't exist it asks if it should be created.

Only supports _spec.rb files at the moment.

Installation

Using Sublime Package Control http://wbond.net/sublime_packages/package_control

Install rails_go_to_spec

By default, specs are assumed to live in “/spec”, but if you have a nonstandard location, you can override with the “go_to_spec_directory” setting in your preferences.

Usage

  • Run from menu > Goto > Rails Go to Spec
  • Default key binding is command + shift + y
  • Or run from command palette 'Rails Go to Spec'

Dev

git clone git@github.com:sporto/rails_go_to_spec.git RailsGoToSpec

Testing

python resolver_test.py

Acknowledgements

Thanks to reInteractive for providing the time to work on this.