vscode-yaml icon indicating copy to clipboard operation
vscode-yaml copied to clipboard

Formatter removes valid custom tags

Open mhanney opened this issue 8 years ago • 2 comments

I'm using customTags for AWS CloudFormation .yml such as "yaml.customTags": ["!Ref scalar"]. This works great with "yaml.validate": true. But when I use format document, they get completely stripped out. I'm using 0.0.14. It was working before https://github.com/redhat-developer/vscode-yaml/issues/90

mhanney avatar Aug 23 '18 16:08 mhanney

I also encountered this bug. After format, "!Ref" and "!GetAttr" was removed from my document. I have thought that a formatter would never add or remove any thing other than new lines and white spaces.

bingtimren avatar Sep 03 '18 00:09 bingtimren

Hi! This should be fixed in version 0.0.17 (we switched formatters).

JPinkney avatar Oct 01 '18 23:10 JPinkney