Sublime Cucumber

Sublime Text 2 is a text editor worth checking out. One thing missing for me though was support for Cucumber features. Today I found it!

https://gist.github.com/864839

I think it’s time to buy a license. :)

About these ads
This entry was posted in Web Programming and tagged , , . Bookmark the permalink.

3 Responses to Sublime Cucumber

  1. paulbjensen says:

    Hi, I tried downloading the instructions on the gist, but unfortunately it didn’t work. I got the following error:

    Error loading syntax file “Packages/Cucumber/Syntaxes/Cucumber Steps.tmLanguage”: Error parsing plist xml: Failed to open file In file “Packages/Cucumber/Syntaxes/Cucumber Steps.tmLanguage”

    What I did was the following instructions:

    cd Library/Application\ Support/Sublime\ Text\ 2/Packages/
    git clone git://github.com/cucumber/cucumber-tmbundle.git Cucumber
    cd Cucumber/Syntaxes/
    rm Cucumber\ Plain\ Text\ Feature.tmLanguage
    wget https://raw.github.com/gist/864839/8752ef038ecaab8c9f3174b6ec419ed6f391e0c3/Cucumber%20Plain%20Text%20Feature.tmLanguage

    Then I restarted Sublime Text 2, and it worked fine.

  2. Richard says:

    I didn’t even need to restart (on Ubuntu) Sublime Text 2 created a cache file in the directory, and all I had to do was close and reopen the file to get coloured-in gherkin

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s