“Karate” 和 “Cucumber for Java” 插件在 IntelliJ 中重叠。

huangapple go评论114阅读模式
英文:

"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?

“Karate” 和 “Cucumber for Java” 插件在 IntelliJ 中重叠。

答案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

huangapple
  • 本文由 发表于 2023年6月13日 06:33:48
  • 转载请务必保留本文链接:https://go.coder-hub.com/76460701.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定