-
Notifications
You must be signed in to change notification settings - Fork 150
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
control-click into Step Definitions from feature files #204
Comments
Send a pull request for it and you will get it. |
See the Natural plugin for (I think) the intended behavior: |
This is a great feature that a lot of people would like. It does the same thing as the F3 "find step" key mapping. |
https://www.ibm.com/developerworks/opensource/tutorials/os-ecl-commplgin2/os-ecl-commplgin2-pdf.pdf |
Try installing "Natural" from eclipse marketplace.
|
Not recommending to install other plugins for cucumber. Our plugin may not behave properly. You may loose our plugin features. Thanks, |
Hi @ilanpillemer, How can i get control-click or command-click to open the step definition declaration from the feature file? Thanks, |
@Anand093, Thanks, |
Fix #204. Go to step definition from a feature file with CTRL+click
Hi girijant I have intalled plugin suggested by you here - but F3 dosent seem to be working. Is there something i am missing? |
Neither F3 nor ctrl+click working for me. It used to work few weeks back, but stopped working without making any updates. I installed this plugin again through offline mode, but not luck. |
@Savitapanwar and @chandra-mummidi, |
ctrl+click is not working with Cucumber-Eclipse plugin |
@sseenivasan89 could you describe your configuration and how to reproduce please ? |
Thank you. ctrl+click is working if I install only Cucumber-Eclipse plugin. But, if I install Natural plugin along with it, then ctrl+click doesn't work. So, the problem is with Natural plugin. |
I have installed Natural 0.7.6 plug-in from eclipse marketplace and I have Windows 10. Eclipse version: Eclipse IDE for Java Developers Version: 2020-03 (4.15.0) Build id: 20200313-1211 |
@SnehasishMukherjee Have you installed Cucumber-Eclipse plugin on your eclipse IDE? I'm using 2019-06 build of Eclipse, and I have installed only Cucumber-Eclipse plugin, but no other cucumber related plugins. You can try installing 2019-06 build version of Eclipse, because cucumber-eclipse plugin may not support latest versions of Eclipse at some times. |
Hi The Natural 0.7.6 plug-in is not this one. @girijant could you check the Eclipse Marketplace to ensure the 2020-03 is checked as supported please ? |
@qvdk Thanks. As 2020-03 is not compatible with Natural 0.7.6(hopefully it will be supported in near future), I did this(as per other user who had success back in Nov last year): |
@qvk, |
@SnehasishMukherjee Could you check if the |
@qvdk Thanks a ton! File association with Cucumber editor worked. |
You must convert your project as a cucumber project. This is required to enable step definitions detection so that your Cucumber Feature file scenario steps can take you to corresponding step definition Java file when you clicked F3 or Ctrl + mouse click. In Eclipse, right click on your project from the Project Explorer > Configure > Convert as Cucumber Project. Once done, you may need to do a clean build. |
The file association setup is required only if you uninstalled the natural plugin. Else, the Cucumber plugin will setup it for you. |
Hello @ramyanthn Please uninstall the plugin and install the latest one with this instructions https://github.com/cucumber/cucumber-eclipse-update-site-snapshot |
Thank you @qvdk . It worked. |
Hi, |
There is no "latest stable version", you can only install a development snapshot that might (or might not depending on you configuration) fix the issue see @qvdk comment above. |
The plugin works with both packages. |
Yes @qvdk I convert the project as cucumber project.Exactly I am facing two issues:
|
This worked for me. thanks |
@SukantBhatia The step definition scan is launched on the project build. Do you have already build the project once with eclipse ? |
Yes @qvdk I did the same.But still no luck. |
@SukantBhatia I think you have an issue due to the old plugin version setup on your projet. I think you have the issue #376. I describe how to clean your project setup in this comment. |
@qvdk |
Hi @qvdk @girijant |
Hello @ramyanthn It is probably a configuration error. Please check :
|
Hi @qvdk , Code : import io.cucumber.java.en.And; public class UberBookingSteps {
} |
From Eclipse, go to menu Help > Install New software |
Please add feature to control-click to open the step definition declaration from the feature file. F3 seems to work but it would be a nice to have.
The text was updated successfully, but these errors were encountered: