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

Behat Features

by tomav ST2/ST3

Provides Syntax highlighting for your .feature files with full support of Behat / Cucumber keywords. Currently supports english, french, spanish, portuguese, german, italian and russian.

Details

  • 2014.08.18.21.25.55
  • github.​com
  • github.​com
  • 3 years ago
  • 14 minutes ago
  • 5 years ago

Installs

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

Readme

Source
raw.​githubusercontent.​com

SublimeText2 Behat Features Syntax Highlight

Works great with Cucumber too!

Installation

# Mac OSX
cd ~/Library/Application Support/Sublime Text 2/Packages
git clone git@github.com: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

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