Closed ninmonkey closed 2 years ago
Expected behavior To not delete comments when formatting.
let y = 1 in y // stuff
Actual behavior Formatting deletes comments at the end of the file.
let y = 1 in y
To Reproduce
Using any saved or unsaved files: add comments to the end, then format.
I tested all combinations of these:
Environment
1.68.0, 4af164ea3a06f701fe3e89a2bcbb421d2026b68f, x64
PowerQuery.vscode-powerquery@0.1.38
I don't think there's anything useful in the log, attached anyway. powerquery.log
Resolved with https://github.com/microsoft/powerquery-formatter/pull/55, still requires a new release to be made.
Expected behavior To not delete comments when formatting.
Actual behavior Formatting deletes comments at the end of the file.
To Reproduce
Using any saved or unsaved files: add comments to the end, then format.
I tested all combinations of these:
Environment
1.68.0, 4af164ea3a06f701fe3e89a2bcbb421d2026b68f, x64
PowerQuery.vscode-powerquery@0.1.38
I don't think there's anything useful in the log, attached anyway. powerquery.log