Search code examples
c#.netvisual-studiospecflowgherkin

No Colours in Specflow Feature Files on Visual Studio


I have the latest version of SpecFlow installed, and still the feature files display uncoloured, like so...

Specflow uncoloured feature files

Is there certain configurations that are set for colours to be displayed in Specflow files?

VS2015 Specflow 2.1


Solution

  • There is an option for coloring syntax in Tools->Options->SpecFlow that could cause the problem.

    enter image description here

    EDIT:

    Ensure your SpecFlow extension is installed correctly:

    Go to Tools->Extensions and updates -> Installed look for SpecFlow for Visual Studio 2015. You might try to uninstall and install it again.

    If you can't find in the list then select Online, in search type specflow, then select result and install.