I have installed Natural 0.7.6 version plugin from Eclipse Market and the installation was successful. I tried Cucumber feature and Eclipse is not recognising the same.
After installing Natural 0.7.6, I created a "Features" package and added a file called "login.feature" The keywords like Scenario, When, Given aren't getting highlighted.
Feature: Macys Login Feature
Scenario: Macys Login Test Scenario
Given User is already on Login Page
When title of login page is Macys
Then user enters Username
Even though it changes the icon of your file(see below OpenWebPage.Feeature) and it looks in green round, by default the editor remains the text editor
Right click with the file being open and select Cucumber Editor

Now the colors will automatically change, as now the editor is changed and would look like below

All credits too http://go-gaga-over-testing.blogspot.com/2014/10/eclipse-cucumber-plugin-syntax.html as i also faced the same problem and this helped me
It may be because of the plug-in you installed not compatible with version of eclipse. You should check supported version on plugin page. I am using qaf bdd editor for eclipse and it works fine for me. It supports Kepler (4.3) or above up to latest and works well for feature file written in gherkin with cucumber step implementation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With