"Create Step Definition" and "Create all steps definition" options missing from Maven Cucumber project
Answered
Hi,
I have created a small example Maven-based Cucumber project. When I press Alt+Enter on cucumber steps (English line), I'm not getting the options "Create Step Definition" and "Create all steps definition". Also the lines are not highlighted as they should. But I'm able to navigate to step definitions which I have implemented manually.
I have downloaded all the plugins - "Gherkin" and "Cucumber for Java". Still no luck.
What I'm I missing?



Please sign in to leave a comment.
Check some other sample for the reference, see https://github.com/ostlin/idea-cucumber-plugin-lambda-swe.
You may need to use src/test/java instead of src/main/java and you may need to set CucumberOptions with the glue parameter specifying where your step definitions are located.
Specify Java and create a file using the dialog on your screenshot.