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

Cucumber

by drewda ST2/ST3

Sublime bundle for Cucumber

Details

  • 3 2017.02.12.09.13.22
    2 2016.12.23.13.44.47
  • github.​com
  • github.​com
  • 1 year ago
  • 50 minutes ago
  • 6 years ago

Installs

  • Total 33K
  • Win 8K
  • OS X 18K
  • Linux 7K
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 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5
Windows 4 5 2 6 1 0 4 5 7 3 2 1 1 1 5 4 6 1 0 2 2 9 3 7 3 0 0 6 6 7 7 7 0 1 7 6 6 9 4 1 2 5 4 4 5 6
OS X 7 4 10 11 3 2 7 9 14 5 3 0 1 2 4 13 8 5 2 2 3 4 9 11 10 1 1 7 13 9 8 9 5 2 6 14 8 9 7 0 4 5 15 9 10 11
Linux 3 2 3 2 1 2 1 2 5 7 2 1 1 6 3 6 1 2 0 0 2 3 2 3 6 0 3 5 5 1 3 4 2 0 1 7 3 2 3 1 3 6 2 4 4 2

Readme

Source
raw.​githubusercontent.​com

cucumber-sublime-bundle

A bundle for Sublime Text that provides syntax coloring and snippets for Cucumber and its Gherkin language.

Work with both ST2 and ST3. For ST3, see the st3 branch.

Installation: ST2

Automatic - via Package Control

Search for cucumber sublime bundle

Mac OSX

cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
git clone git://github.com/drewda/cucumber-sublime-bundle.git Cucumber

Linux

cd ~/.config/sublime-text-2/Packages
git clone git://github.com/drewda/cucumber-sublime-bundle.git Cucumber

Windows

cd Users/<user>/AppData/Roaming/Sublime\ Text\ 2/Packages/
git clone git://github.com/drewda/cucumber-sublime-bundle.git Cucumber

Restart Sublime Text.

Table Cleaner

Aligns and cleans the tables for a prettier output. Useful for programming languages like Cucumber or LaTex.

Before

After

Usage

Select the table you want to clean, and press alt + ; and the table gets cleaned instantly.

Settings

These settings can be found in Base File.sublime-settings - table_cleaner_delimiters - Delimiters between two cells of the table - default: [“|”, “&”, “\”] - table_cleaner_align_to_middle - Align the text of each cell to middle (if set to false, the text will be alligned to left) - default: false - table_cleaner_delimiters_white_spaces - The number of whitespaces between the text of a cell and the delimiters - default: 1

Gherkin Auto-complete

Shows all existing gherkin phrases within features in folder hierarchy.

sublime-gherkin-auto-complete and cucumber-sublime-bundle plugins are mutually exclusive, so if you have sublime-gherkin-auto-complete installed and want to install cucumber-sublime-bundle you have to uninstall sublime-gherkin-auto-complete first.

Gherkin Syntax Highlighting

Do this to activate : open a .feature file and do “view -> syntax -> open all with current extension as -> Cucumber -> Gherkin”

Credits

Created by the Github user @sagework, who pulled his/her repo from https://github.com/sagework/cucumber-sublime2-bundle

The Table Cleaner plug-in has been kindly contributed by @amisarca. If you'd like just the plug-in, without the rest of this Cucumber bundle, see his repositories:

The Gherkin auto-complete plug-in has been kindly contributed by @AndyHitchman. If you'd like just the plug-in, without the rest of this Cucumber bundle, see his repository.

I host this project at https://github.com/drewda/cucumber-sublime-bundle for those who use Sublime Package Control.