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

Installs

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

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