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

Installs

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

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.