aws-scripting-guy / cform-VSCode

CloudFormation extension for Visual Studio Code
86 stars 36 forks source link

Specified where to paste the custom tags in the settings #54

Open gorkememir opened 1 year ago

gorkememir commented 1 year ago

Had difficulty identifying where to paste the custom tags exactly, wanted to save the ones to have the same problem possibly.

aservedio-swi commented 1 year ago

@gorkememir did his example of how to configure the custom tags work for you? I had to change them to:

    "yaml.customTags": [
        "!And sequence", 
        "!Equals sequence", 
        "!If sequence", 
        "!Not sequence", 
        "!Or sequence", 
        "!Base64", 
        "!Cidr sequence", 
        "!FindInMap sequence", 
        "!GetAtt", 
        "!GetAZs", 
        "!ImportValue", 
        "!Join sequence", 
        "!Select sequence", 
        "!Split sequence", 
        "!Sub sequence", 
        "!Sub scalar", 
        "!Sub map", 
        "!Ref"
    ],

Based on https://github.com/redhat-developer/vscode-yaml/issues/137

gorkememir commented 1 year ago

@aservedio-swi I haven't tried to see if they work or not, just was trying to see where to paste them.

dk-charter commented 1 year ago

This fixed it for me, thanks it was driving me crazy.