Format Cucumber Tables in Sublime Text 2 (ST2)

  • install https://github.com/drewda/cucumber-sublime2-bundle for general cucumber support in ST2
  • follow instructions on https://github.com/mishu91/Sublime-Text-2-Table-Cleaner

Adjust key binding: { "keys": ["super+alt+7"], "command": "table_cleaner"}

Adjust settings:

Linked content

Remove Trailing Spaces on Save in Sublime Text 2

Ever wondered how to get rid of the trailing spaces?
just add this to your user settings ( cmd + , ):

"trim_trailing_white_space_on_save": true

And every time you save a file Sublime will trim all the trailing spaces for you.

If you haven´t seen whitespaces yet, you should add this package: https://github.com/SublimeText/TrailingSpaces and add these lines:

"trailing_spaces_highlight_color": "invalid",

"trailing_spaces_file_max_size": 1000,

How to use cucumber together with Sublime Text 2 Editor

Sublime Text 2 doesn't have out of the box support for cucumber and package control doesn't provide anything.

Adding support to run tests from within sublime text 2: RubyText Package

Add syntax highlighting for Cucumber (Gherkin): Cucumber Syntax

Maybe you'll run into broken test output. Check out this (tmp.) solution until the next …

This website uses cookies to improve usability and analyze traffic.
Accept or learn more