I have a Cucumber feature file that has a comment which is written before the keyword "Feature:". In an IntelliJ, this file looks all good but when opened in Eclipse IDE, the same feature file starts complaining with following error "Found comment when expecting one of: [examples, feature, scenario, scenario_outline, tag]. (Current state tag).".
If I move the same comment after Feature, the issue gets resolved automatically. Is there a solution for Eclipse IDE without moving the comment here and there?
Here is my sample feature file content in abcfile.feature
=================== @abc @sometag # this is comment line # this is another comment Feature: Car dashboard
Background: Given I am in the car When I turn on the engine Then dashboard should lit up
===================
If i move the comment, after the Feature keyword, it stops complaining. And just happens in the Eclipse IDE.