dannysteenman / vscode-cloudformation-snippets

This extension adds snippets for all the AWS CloudFormation resources into Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=dannysteenman.cloudformation-yaml-snippets
Apache License 2.0
27 stars 8 forks source link

Support for auto-complete of Logical ID or Parameters #8

Closed tekdj7 closed 5 days ago

tekdj7 commented 3 years ago

It be great if when doing !Ref or !Sub, for example, provide auto-complete that shows the Parameters/LogicalIDs. And autocomplete support for Attributes too.

ojarosch commented 3 years ago

You might want to take a look at this: https://github.com/keyboardDrummer/cloudformation-ide-tooling

tekdj7 commented 3 years ago

@fastplayer95 thanks for the suggestion. I don't recall all the differences between that solution and this one. However, I did open an issue against that solution being incomplete. See here.

dannysteenman commented 5 days ago

Yes it's a bit out of scope for this extension since the snippets are all generated and static. If you'd like a more dynamic autocomplete/reference in vscode when building infrastructure on AWS, I would highly recommend to switch to AWS CDK (TypeScript): https://docs.aws.amazon.com/cdk/v2/guide/work-with-cdk-typescript.html