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

Cucumber

by drewda ST2/ST3

Sublime bundle for Cucumber

Details

  • 2 2018.06.21.13.11.28
    3 2017.02.12.09.13.22
  • github.​com
  • github.​com
  • 4 weeks ago
  • 1 hour ago
  • 6 years ago

Installs

  • Total 34K
  • Win 8K
  • OS X 19K
  • Linux 7K
Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3
Windows 0 4 5 1 1 3 5 5 8 5 1 0 3 6 5 6 9 0 1 4 5 7 3 12 1 1 3 6 7 4 9 0 1 4 4 4 3 5 0 0 5 2 12 8 3 1
OS X 0 5 4 2 1 2 8 8 12 7 2 1 2 6 7 5 9 2 2 4 9 7 11 5 2 1 7 10 11 10 6 0 1 7 8 7 6 10 0 1 2 6 6 8 15 2
Linux 0 3 2 1 1 2 4 4 3 0 0 0 1 1 4 2 3 1 1 2 2 3 1 2 1 1 3 1 5 1 1 1 0 2 3 2 1 6 0 0 3 0 0 3 7 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.