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
  • 4 years ago
  • 24 minutes ago
  • 5 years ago

Installs

  • Total 4K
  • Win 1K
  • OS X 2K
  • Linux 1K
Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10
Windows 0 0 0 0 5 1 5 0 2 0 0 0 2 0 1 0 0 0 1 1 3 0 1 1 1 0 2 0 2 1 0 0 1 0 6 3 0 0 0 0 1 1 0 1 0 1
OS X 0 0 0 0 0 0 0 2 1 0 0 1 0 0 0 1 0 0 0 1 1 1 0 0 1 1 0 0 1 1 0 0 0 0 3 0 0 0 0 3 0 2 0 0 0 0
Linux 1 0 0 0 0 1 0 0 0 0 0 1 0 0 2 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 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