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

Cucumber

by drewda ALL

Sublime bundle for Cucumber

Details

  • 2018.06.21.13.11.28
    2017.02.12.09.13.22
  • github.​com
  • github.​com
  • 6 years ago
  • 1 hour ago
  • 13 years ago

Installs

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