Works great with Cucumber too!
# Mac OSX
cd ~/Library/Application Support/Sublime Text 2/Packages
git clone [email protected]:tomav/SublimeText2-Behat-Features-Syntax.git
SublimeText2 Behat Features Syntax Highlight is also available via Sublime Package Control
The syntax highlighting will be automatically applied to .feature files.
The Behat Features syntax highlight can be found in the menu under View > Syntax > Behat Features.
- Feature
- Scenario, Scenario Outline, Background
- Given, Then, When, And, But
| multi | columns | data | sets |
- Comments (with keyboard shortcut
Cmd/
) - Tags
- Placeholders
- English
- French
- German
- Italian
- Spanish
- Russian
Thanks to the community!
Previously using sublime-behat-syntax where i pulled some improvements but :
- some features were still missing
- json files not available on github, a pain in the ass to contribute using XML/PLIST files...
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request