SpecFlow / Gherkin在Sublime Text 2中突出显示

时间:2012-09-05 05:45:21

标签: sublimetext2 sublimetext specflow gherkin

有没有人知道是否有任何Sublime Text 2软件包可用于为SpecFlow / Gherkin规范文件启用语法高亮显示?

2 个答案:

答案 0 :(得分:20)

有一些解决方案可以将Sublime Text与Gherkin集成(在本例中为Cucumber而不是SpecFlow):https://makandracards.com/ninjaconcept/9233-how-to-use-cucumber-together-with-sublime-text-2-editor

或者作为Sublime捆绑:https://github.com/npverni/cucumber-sublime2-bundle

特别与你的问题相关,然后这个要点(上面Blender提到)将为Sublime Text 2添加小黄瓜语法:https://gist.github.com/864839

请注意,此要点似乎存在轻微问题,这可由以下评论修正:http://expertbeginner.com/2011/04/18/sublime-cucumbe/(编辑:已完成,archive.org副本)

答案 1 :(得分:3)

以下是Sublime Text Packages

黄瓜的一体化套餐:https://github.com/drewda/cucumber-sublime-bundle

对于要素文件自动填充:https://github.com/AndyHitchman/sublime-gherkin-auto-complete

从sublimetext(ctrl + B)构建黄瓜:https://github.com/Aravin/Cucumber-Build-SublimeText