英文:
"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?
英文:
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?
答案1
得分: 2
在“设置/首选项 | 编辑器 | 文件类型 | 已识别文件类型”下切换注册的“*.feature”文件类型,可以在“Karate特性文件”和“Cucumber场景”之间切换。
这样,您就不需要因为禁用Karate插件而重新启动IDE。
英文:
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论