gauge-vscode
gauge-vscode copied to clipboard
Specfication formatting - moves comment metadata below specs
Describe the bug
When specifying comments like below
<!-- Space: testing -->
<!-- Title: test -->
When for you format the document, it moves the comments below the specification header like this
I'm hoping that the metadata This is used to add metadata to specs.. which can then be processed by a internal tool to push to confluence / jira,
Is there anyway this behaviour in particular can be suppressed or ignored?
This is a bug. Unfortunately there's no workaround for this at the moment.
If I wanted to tackle this - where would I start?
You could start by writing a test to cover this case at https://github.com/getgauge/gauge/blob/master/formatter/formatter_test.go
The test above invokes the formatter.