Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SpecFlow/Gherkin highlighting in Sublime Text 2

Does anyone know if there are any Sublime Text 2 packages available to enable syntax highlighting for SpecFlow / Gherkin specification files?

like image 837
Stuart Hallows Avatar asked Sep 05 '12 05:09

Stuart Hallows


1 Answers

There are a few solutions to integrate Sublime Text with Gherkin, (in this case with Cucumber not SpecFlow): https://makandracards.com/ninjaconcept/9233-how-to-use-cucumber-together-with-sublime-text-2-editor

Or as a Sublime bundle: https://github.com/npverni/cucumber-sublime2-bundle

And specifically related to your question then this gist (mentioned by Blender above) will add gherkin syntax to Sublime Text 2: https://gist.github.com/864839

Note, there seems to be slight issues with this gist, which is fixed by the comments in this: http://expertbeginner.com/2011/04/18/sublime-cucumbe/ (Edit: Gone, archive.org copy)

like image 98
flurdy Avatar answered Oct 13 '22 23:10

flurdy