'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...

(Not enough rep to insert images)

Specflow uncoloured feature files

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

VS2015 Specflow 2.1



Solution 1:[1]

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.

Solution 2:[2]

Gherkin code highlighting issue on Visual Studio 2019

For Visual studio 2019 need to install an Extension Extensions -> Manage Extensions -> Search for Specflow

Can see Extension by name 'Specflow for Visual Studio 2019' click and restart the Visual Studio 2019 app.

Solution 3:[3]

In my case I had the coloring in some projects but in other I haven't. Pre-installing the Visual Studio extension worked for me.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 Vivek Kulkarni
Solution 3 G Stoykov