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.
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.
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.
Thanks Paul!
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