Does anyone know if there are any Sublime Text 2 packages available to enable syntax highlighting for SpecFlow / Gherkin specification files?
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)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With