Cucumber Expressions are not recognized
已回答
I have enabled Cucumber support:
https://www.jetbrains.com/help/idea/2017.1/enabling-cucumber-support-in-project.html
This works as expected for regex based step implementations:
When(/^I have ([0-9]+) cucumbers?$/, (cucumberCount) => {
// ...
});

But if I use cucumber expression syntax:
When('I have {cucumberCount:int} cucumber(s)', (cucumberCount) => {
// ...
});
Then IDEA doesn't recognize the step when used in a .feature file.

I get no step suggestions or cmd+click to navigate to implementation.
请先登录再写评论。
Please see https://youtrack.jetbrains.com/issue/WEB-25324 and the linked issues.
Thanks. Voted for those issues.