vscode-cloudformation-snippets icon indicating copy to clipboard operation
vscode-cloudformation-snippets copied to clipboard

Support for auto-complete of Logical ID or Parameters

Open tekdj7 opened this issue 4 years ago • 2 comments
trafficstars

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.

tekdj7 avatar Jan 03 '21 02:01 tekdj7

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

ojarosch avatar Jan 06 '21 11:01 ojarosch

@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.

tekdj7 avatar Jan 06 '21 14:01 tekdj7

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

dannysteenman avatar Jun 30 '24 18:06 dannysteenman