yaml.customTags not working in 0.17.0
See original GitHub issueDescribe the bug
After updating from 0.16.0 to 0.17.0 all custom tags result in errors like:
unknown tag <!GetAtt>YAML
Expected Behavior
Custom tags continue to work
Current Behavior
Use of custom tags in YAML result in error.
Steps to Reproduce
When using the settings:
"yaml.customTags": [
"!And",
"!If",
"!Not",
"!Equals",
"!Or",
"!FindInMap sequence",
"!Base64",
"!Cidr",
"!Ref",
"!Sub",
"!GetAtt",
"!GetAZs",
"!ImportValue",
"!Select",
"!Select sequence",
"!Split",
"!Join sequence"
]
And in YAML typing, eg.
RoleArn: !GetAtt ECSRunTaskAsyncRole.Arn
Results in error:
unknown tag <!GetAtt>YAML
Environment
- Windows
- Mac
- Linux
- other (please specify)
Issue Analytics
- State:
- Created 2 years ago
- Reactions:7
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Where did these yaml.customTags come from in vs code
I noticed this annoying bug and raised a GitHub issue in the YAML extension repo where this problem came from - hopefully they...
Read more >https://raw.githubusercontent.com/redhat-developer...
customTags not working in `0.17.0` [#461](https://github.com/redhat-developer/vscode-yaml/issues/461) - Fix: unknown tag <tag:yaml.org,2002:str> ...
Read more >YAML - Open VSX Registry
Provides comprehensive YAML Language support to Visual Studio Code, via the yaml-language-server, with built-in Kubernetes syntax support.
Read more >Docker Compose release notes
Pull Request compose#9935; Excluded issues labeled with kind/feature from stale ... Removed the need to get the original compose.yaml file to run 'docker ......
Read more >What's in my Fridge? - DEV Community
said Chris, and he proposed a strange but very creative solution to our problem. “We are going to use Amazon DeepLens and Custom...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Making a change to a yaml file and then saving caused the file to reset and validation errors resolved.
Same error, same fix here, but I have to make a change and re-save the file every time I reopen vscode.