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

Installs

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