IntelliJBehave icon indicating copy to clipboard operation
IntelliJBehave copied to clipboard

Commenting with cmd+/ doesn't add space after `!--`

Open Katzen-Gott opened this issue 8 years ago • 0 comments

Say there is a .story file

Scenario: some scenario Given some state And some other state When I do something State is changed

Try to comment "And" step using cmd+/. Result will be

Scenario: some scenario Given some state !--And some other state When I do something State is changed

But JBehave requires a space after !--, otherwise it tries to put commented line as a parameter for previous step. In other words, result should be:

Scenario: some scenario Given some state !-- And some other state When I do something State is changed

Katzen-Gott avatar Dec 08 '17 12:12 Katzen-Gott