Difference between revisions of "Sublime - For Ruby"
| Line 40: | Line 40: | ||
https://packagecontrol.io/search/ruby | https://packagecontrol.io/search/ruby | ||
| + | |||
| + | |||
| + | == Licence == | ||
| + | |||
| + | <pre> | ||
| + | —– BEGIN LICENSE —– | ||
| + | Michael Barnes | ||
| + | Single User License | ||
| + | EA7E-821385 | ||
| + | 8A353C41 872A0D5C DF9B2950 AFF6F667 | ||
| + | C458EA6D 8EA3C286 98D1D650 131A97AB | ||
| + | AA919AEC EF20E143 B361B1E7 4C8B7F04 | ||
| + | B085E65E 2F5F5360 8489D422 FB8FC1AA | ||
| + | 93F6323C FD7F7544 3F39C318 D95E6480 | ||
| + | FCCC7561 8A4A1741 68FA4223 ADCEDE07 | ||
| + | 200C25BE DBBC4855 C4CFB774 C5EC138C | ||
| + | 0FEC1CEF D9DCECEC D3A5DAD1 01316C36 | ||
| + | —— END LICENSE —— | ||
| + | </pre> | ||
Revision as of 12:44, 28 February 2017
LINKS
https://mattbrictson.com/sublime-text-3-recommendations
http://sublimecodeintel.github.io/SublimeCodeIntel/
Install Package Control
Install RSpec
https://github.com/SublimeText/RSpec
Another Test Stuff
https://github.com/cyphactor/sublime_guard
Install ApplySyntax
https://github.com/facelessuser/ApplySyntax
Install CTags.
CTags let you quickly navigate to code definitons (classes, methods, etc.). First:
$ brew install ctags
Then use Package Control to install the ST2 package. Check out the default CTags key bindings to see what you can do.
Running RSpec from Sublime Text 2
https://github.com/neilsarkar/sublime_user_directory/blob/master/rspec.py
With this script installed, you can bind ⌘R to run the current file and ⌘⇧R to run the current test. The tests will run in Terminal. This is great for a number of reasons:
You can use any RSpec formatter and get nice, colored output. Adding calls to debugger or binding.pry works. No need to change how you run your tests when you want to debug.
Window management. It’s smart enough to reuse the Terminal window for new test runs if you don’t close it. I put my Terminal window on the right 40% of my monitor. This has really improved my TDD workflow when working on individual classes.
More
Can be found here
https://packagecontrol.io/search/ruby
Licence
—– BEGIN LICENSE —– Michael Barnes Single User License EA7E-821385 8A353C41 872A0D5C DF9B2950 AFF6F667 C458EA6D 8EA3C286 98D1D650 131A97AB AA919AEC EF20E143 B361B1E7 4C8B7F04 B085E65E 2F5F5360 8489D422 FB8FC1AA 93F6323C FD7F7544 3F39C318 D95E6480 FCCC7561 8A4A1741 68FA4223 ADCEDE07 200C25BE DBBC4855 C4CFB774 C5EC138C 0FEC1CEF D9DCECEC D3A5DAD1 01316C36 —— END LICENSE ——