Can not edit run config of a file
已回答
I created a cucumber java file, it runs fine.
I created an other cucumber file and apparently Intellij sees this file as an cucumber.js file?
How can I change that? I tried to look into the run config, but I can't change their anything.

请先登录再写评论。
Did you try to create the Cucumber Java Run/debug configuration instead? https://www.jetbrains.com/help/idea/run-debug-configuration-cucumber-java.html .