Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.52 KB

File metadata and controls

54 lines (38 loc) · 1.52 KB

SublimeText2 Behat Features Syntax Highlight

Works great with Cucumber too!

Installation

# 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

Basic usage

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.

Currently supporting:

  • Feature
  • Scenario, Scenario Outline, Background
  • Given, Then, When, And, But
  • | multi | columns | data | sets |
  • Comments (with keyboard shortcut Cmd/)
  • Tags
  • Placeholders

Supported languages:

  • English
  • French
  • German
  • Italian
  • Spanish
  • Russian

Thanks to the community!

Screenshot

SublimeText2 Behat Features Syntax Highlight

History

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...

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request