-
-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple definitions found issue #44
Comments
This is known issue and it related to the stepdef to step matching process, which is also causing slowness and unresponsiveness on big projects: the whole workspace is scanned for step to stepdef matching possibilities. The plugin has no idea of which value you assigned as Alternatively you can contribute a patch providing a project related configuration parameter to let the user specify a set of projects/packages to include in the scan process. |
i'm closing the project which contains the step defs but the editor is still reporting that it finds 2 identical step defs (on hover and CTRL) and underlines the sentences. None of those two are working since there is no implemenation to redirect to. My question is, why the editor insists on throwing this warning, in this case, when it should have actually said that it cannot find any definitions at all. is it some sort of glitch with eclipse? (using eclipse mars btw) |
The editor caches the last search and clears the cache upon Java build or Gherkin content update. |
I am also getting the same issue, my editor identifies two steps and those steps are not similar. i could find the cause to resolve it |
This can be one of the tests we might consider adding to the next generation: what do you think @drkstr101 ? |
Most definitely! Currently all of the test cases are focusing on the lexer parser, but this would be a great place to start building out the ui testing infra. In theory, the issue itself should be resolvable through adjustments to the scoping provider, but having a test case in place first will help us narrow that down. |
Ref: issue144 |
Flagging for review in next. |
This issue has not been updated for a while: marking it as stale. |
Hi there, thanks for the great plugin!
I have 2 maven projects, lets say A contains a set of step definitions and B contains another set of step definitions. project B has the feature files for which the glue option is configured to look project A and project B step defs. (not sure if all this is relevant). My issues is the following
When using step definitions of project A writing feature files on project B, after writting the step def and hovering with the mouse while clicking CTRL, the editor displays 2 different step defs (highlighting the step with yellow line and a warning of "Multiple definitions found for ") which are identical. However the first one is not accessible while the second one redirects me correctly to the step implementation which is located under project A. Project B steps used in the feature have no issue. This is no blocking issue in order to run my tests but it's annoying since I can't understand why the editor finds double step defs which are basically identical and throws this warning. I have tried everything , cleaning up my project , closing my project, re-installing eclipse but nothing , the issue remains.
The text was updated successfully, but these errors were encountered: