Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there "show all allowed attributes" support? #35

Open
jeffb4 opened this issue Jul 5, 2019 · 2 comments
Open

Is there "show all allowed attributes" support? #35

jeffb4 opened this issue Jul 5, 2019 · 2 comments

Comments

@jeffb4
Copy link

jeffb4 commented Jul 5, 2019

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.

@aws-scripting-guy
Copy link
Owner

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

@jeffb4
Copy link
Author

jeffb4 commented Mar 20, 2020

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants