An open API service indexing awesome lists of open source software.

https://github.com/midwire/rspec-toggle-focus

Atom package to toggle :focus tag in RSpec examples.
https://github.com/midwire/rspec-toggle-focus

Last synced: about 1 year ago
JSON representation

Atom package to toggle :focus tag in RSpec examples.

Awesome Lists containing this project

README

          

# rspec-toggle-focus package - Atom.io

Toggle the `focus: true` tag for RSpec examples.

## Documentation

Place the cursor on a line beginning with `describe`, `context`, or `it` for the RSpec example.

Hit: `Option+Shift+F`

![A screenshot of your package](https://raw.githubusercontent.com/midwire/rspec-toggle-focus/master/demo.gif)

## Attribution

This is basically a port of the Sublime Text package written by [axsuul](https://packagecontrol.io/browse/authors/axsuul), in Python, which is [here](https://packagecontrol.io/packages/Toggle%20RSpec%20Focus)

## Notes

This is my first Atom plugin and I am not very experienced with Coffeescript, so please let me know if I it breaks or if I can do something in a better way.

I didn't have time to figure out how the Jasmine specs work. Please feel free to help out with those, by forking and submitting a pull request.

## License

Copyright (c) 2016. Licensed under the MIT license.