IntelliJ IDEA not recognizing .feature files

前端 未结 8 750
走了就别回头了
走了就别回头了 2021-01-02 07:12

I have installed the cucumber-java and gherkin plugins in IntelliJ IDEA but when I create a .feature file it is not recognized as a feature file. I did restart IntelliJ and

8条回答
  •  天命终不由人
    2021-01-02 07:33

    Navigate to the settings from File option at menu then -> Editor -> File Types --> Select Cucumber scenario (Recognized file types ) observe that if Registered patterns has *.feature if not then click on + icon and add *.feature in Registered patterns. Apply changes and save. It solved my problem of .feature file. Thanks!

提交回复
热议问题