matthewpietal / Eclipse-Plugin-for-Cucumber

Enables real-time validation and editing support for Cucumber feature files in Eclipse.
23 stars 10 forks source link

Gherkin comment delimiter misapplied #12

Open CuriousAgilist opened 11 years ago

CuriousAgilist commented 11 years ago

The color coding is helpful, but ... in Gherkin the # character is only a comment delimiter when it appears as the first non-whitespace character on the line. Reference pg. 33, section 3.5 in the Cucumber Book.

"Unlike in Ruby, comments have to be the first and only thing on a line (well, apart from whitespace)."

... and this thread on the Cukes Google group: https://groups.google.com/forum/?fromgroups=#!topicsearchin/cukes/comment/cukes/Sy4dy95FHbg