Search code examples
rubymine

In RubyMine, how do you get it to recognize Cucumber feature files?


I created a new feature file, test.feature, but RubyMine does not recognize it as a cucumber feature file and instead treats it as a simple text file. I can not dig through the file, and it does not receive syntax highlighting.

I have tried deleting and recreating the file, but it still treats it as a simple text file.

How do I get RubyMine to recognize this file as a feature file so I can use the IDE's features on the feature file?


Solution

  • File | Settings | File Types | Cucumber scenario files, make sure *.feature extension is added there.