aws-scripting-guy/cform-VSCode

Is there "show all allowed attributes" support?

jeffb4 opened this issue · 2 comments

This might be possible, hence posing as question. Is there a way within a certain YAML/JSON CFN context to list schema-legal sub-attributes?

As an example, if I have an AWS::EC2::Instance resource and I go to Properties: (YAML), I get useful autocomplete suggestions when I type 'a', 'b', etc, but the ability to see an entire list of legal properties would be helpful to me.

If this isn't currently possible but is something that would better be a request to redhat.vscode-yaml please let me know and I'll go do so.

Hi, can you please elaborate on the behaviour you'd like to see?

For ec2 instance, you see the list of attributes right away

vs_code_yaml

So after you type in

myEC2Instance:
  Type: AWS::EC2::Instance
  Properties:

I would like to be able to get a list of valid properties (as show up in the example in your screenshot)