question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

yaml.customTags not working in 0.17.0

See original GitHub issue

Describe 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:closed
  • Created 2 years ago
  • Reactions:7
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
chace86commented, Mar 29, 2021

Making a change to a yaml file and then saving caused the file to reset and validation errors resolved.

1reaction
vtcifercommented, Apr 4, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found