cucumber / cucumber-eclipse

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

.feature file not recognized by plugin in Eclipse 4.16.0 #420

Closed manzspark closed 3 years ago

manzspark commented 3 years ago
  1. I installed the plugin's latest version in Eclipse 2020-06 (4.16.0).
  2. Restarted Eclipse.
  3. Created a .feature file in my project.
  4. I see a popup from eclipse that suggests to install editors from marketplace that can open this file type. See screenshot.
  5. On choosing the marketplace option it open the marketplace window and I see this plugin already installed.
  6. No matter what I cannot see the .feature file getting associated with the plugin. The green cucumber icon is present on the file name No option to run as cucumber feature. Cucumber plugin issue 1 Cucumber plugin issue 2 Cucumber plugin issue 3
PyvesB commented 3 years ago

Hello @MANZOOR-WIPRO , have you tried right-clicking on the file, Open With -> Other... and selecting the Cucumber editor in that list?

AjayKedarisetty commented 3 years ago

I am also facing the same issue. I tried multiple time still .feature file is not highlighting.

Steps: I installed the plugin's latest version in Eclipse 2020-06 (4.16.0). Restarted Eclipse. Created a .feature file in my project. I see a popup from eclipse that suggests to install editors from marketplace that can open this file type. See screenshot. On choosing the marketplace option it open the marketplace window and I see this plugin already installed. No matter what I cannot see the .feature file getting associated with the plugin. The green cucumber icon is present on the file name No option to run as cucumber feature.

image image

PyvesB commented 3 years ago

@AjayKedarisetty did you try my above suggestion?

lux-coder commented 3 years ago

I have same problem and there is no Cucumber editor in that list. cucumberEditor

PyvesB commented 3 years ago

Does it work with Eclipse 4.17? Does it work with older 4.15? Would be useful to narrow down the bug a bit!

AjayKedarisetty commented 3 years ago

Hi. It’s worked when I upgrade my eclipse from 4.16 to 4.17

On Tue, 27 Oct 2020 at 12:52 AM, Pierre-Yves B. notifications@github.com wrote:

Does it work with Eclipse 4.17? Does it work with older 4.15? Would be useful to narrow down the bug a bit!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/cucumber/cucumber-eclipse/issues/420#issuecomment-716770259, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJJ6EI5ZNEZRM7TMHATPJV3SMXEBBANCNFSM4R753FLA .

-- Ajay kedarisetty |Jr Software Engineer T: (970) 185 7573 <+9701857573> W: https://www.amzur.com https://www.facebook.com/amzurtech http://www.twitter.com/amzurtech https://www.linkedin.com/company/amzur-technologies-inc/ https://www.instagram.com/amzurtech/?igshid=mgjads2zvq6l https://www.youtube.com/channel/UCs6QJtQfeH-7vbr5CkfFIyg An ISO 9001:2015 Certified Company An ISO 27001:2013 Certified Company

The content of this message is confidential. If you have received it by mistake, please inform us by email reply and then delete the message. It is forbidden to copy, forward, or in any way reveal the contents of this message to anyone. The integrity and security of this email cannot be guaranteed over the Internet. Therefore, the sender will not be held liable for any damage caused by the message.

lux-coder commented 3 years ago

I tried on 4.15. as I can't use 4.17 because it doesn't support JDK8. Problem persists. Plugin installed and no editor options,

PyvesB commented 3 years ago

I tried on 4.15. as I can't use 4.17 because it doesn't support JDK8. Problem persists. Plugin installed and no editor options,

Has this ever worked for you at all in any older Eclipse version?

lmilton-ithaka commented 3 years ago

This was working in the older version. Neon I believe. I didn't have any problems. Now, the feature file is getting opened only with the text editor

gotama32 commented 3 years ago

Hi, i had the same issue and i solved with reinstalling eclipse but now i did not choose: "Eclipse IDE for Java Developers " instead i choosed : "Eclipse IDE for Enterprise Java Developers" and afterward it worked. Don´t know if it also works for you.

BR

Neetish1607 commented 3 years ago

yes re-installing "Eclipse IDE for Enterprise Java Developers" worked for me as well !! Thanks

ramom01 commented 3 years ago

yes re-installing "Eclipse IDE for Enterprise Java Developers" worked for me as well !! Thanks

laeubi commented 3 years ago

yes re-installing "Eclipse IDE for Enterprise Java Developers" worked for me as well !! Thanks

thanks for verification, closing this then.

YogeshGIT90 commented 2 years ago

Hello, I also faced same issue but it is resolved by updating eclipse version from 4.15 to 4.22. Thanks for the solution. Help> check for updates> add latest url for updating eclipse. It will download latest version of eclipse and does restart.

himeros49 commented 2 years ago

I got it ....

It isn't opening into default Cucumber Editor

Goto ----> Window ----> Preferences ------> drop-down General option

then Goto Editors-----> File Associate

image

click on features and make sure default editor must me "Editor(with cucumber logo)"

image

If not make it default image