How to get Gherkin syntax highlighting for .feature files in Visual Studio?

青春壹個敷衍的年華 提交于 2019-12-23 08:29:15

问题


There's no highlighting for Feature, Scenario, Given, When, Then, etc. keywords by default. Is there a ready made template out there to enable this?


回答1:


The recent vesions of SpecFlow have a built-in syntax highlighting for VS2010.




回答2:


http://github.com/henritersteeg/cuke4vs does exactly this.



来源:https://stackoverflow.com/questions/2959173/how-to-get-gherkin-syntax-highlighting-for-feature-files-in-visual-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!