Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Karate" & "Cucumber for Java" plugins are overlapped in IntelliJ

I have installed both "Karate" and "Cucumber for Java" plugins in IntelliJ. I can not keep both plugins enabled at the same time. If I keep both enabled then, my feature files of a Cucumber Java project are shown as Karate feature files and can not be run as a Cucumber feature file. So every time I need to disable Karate to work on the Cucumber project and disable the Cucumber plugin to work with the Karate project. It requires a restart of IntelliJ when we enable/disable the plugin.

Do we have any alternative to this problem?

enter image description here

like image 702
AMOD MAHAJAN Avatar asked Dec 22 '25 09:12

AMOD MAHAJAN


1 Answers

Switch registered *.feature file type between Karate feature file and Cucumber scenario under Settings/Preferences | Editor | File Types | Recognized File Types

This way you won't need to restart the IDE because of disabling Karate plugin

like image 98
Egor Klepikov Avatar answered Dec 23 '25 22:12

Egor Klepikov