cucumber / cucumber-eclipse

Eclipse plugin for Cucumber
MIT License
190 stars 147 forks source link

Error: No source found for step; when we CTRL+CLICK a feature to go to the step definition (Cucumber Eclipse Plugin 2.0) #460

Open maioni opened 2 years ago

maioni commented 2 years ago

πŸ‘“ What did you see?

After CTRL+CLICK a feature to redirects to a step definition, it shows a error: No source found for step

βœ… What did you expect to see?

Eclipse open and highlight the step definition for the feature line

πŸ“¦ Which tool/library version are you using?

image

πŸ”¬ How could we reproduce it?

Steps to reproduce the behavior:

  1. Import the attached project: java-calculator.zip
  2. Open the feature file basic_arithmetic.featu: /java-calculator/src/test/resources/io/cucumber/examples/calculator/basic_arithmetic.feature
  3. HOLD LEFT CTRL key and do a mouse CLICK on line 9: image
  4. It can't find the step definition: image

πŸ“š Any additional context?

More info at: https://github.com/cucumber/cucumber-eclipse/issues/458

maioni commented 1 year ago

@laeubi any updates?

laeubi commented 1 year ago

@maioni sorry have not yet had the time to look at this, but maybe you want to try debugging this and proposing a patch?

maioni commented 1 year ago

@laeubi here's the isssue: https://github.com/cucumber/cucumber-eclipse/issues/458