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

Installs

  • Total 31K
  • Win 7K
  • OS X 17K
  • Linux 7K
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 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3
Windows 5 6 14 0 0 6 9 4 9 10 1 1 6 7 8 5 7 0 0 3 7 9 5 14 2 1 5 14 8 13 3 4 3 1 7 6 4 5 3 2 6 5 11 9 8 3
OS X 2 9 12 2 2 16 14 1 10 12 3 2 5 12 11 11 7 1 6 9 15 15 16 12 5 0 6 9 19 12 17 0 3 18 14 12 9 5 3 5 9 9 9 7 7 0
Linux 1 5 2 0 1 2 2 4 6 4 2 0 3 3 4 10 6 3 4 4 2 5 2 0 0 1 2 4 2 4 4 1 1 5 6 5 2 3 0 1 1 3 2 4 3 0

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.