Skip to content
This repository has been archived by the owner on Jan 5, 2023. It is now read-only.

mauricioklein/vscode-cdk-snippets

Repository files navigation

VSCode CDK Snippets

A non-official set of VSCode snippets for CDK development.

Alt Text

Table of Contents

Background

VSCode CDK snippets is a compilation of snippets created for personal usage over the last months + some extra useful snippets. The purpose of these snippets is to remove the burden of writing CDK resources scaffolds manually, automating the process and making the development cycle faster and less error prone.

Install

Head to VSCode marketplace and search for "CDK Snippets"

Usage

Snippets are designed to work with Typescript language. Thus, make sure to set correctly the filetype on VSCode.

Invoking a snippet can be done by directly typing the command prefix (or part of it), and IntelliSense will present the available options.

Alternatively, the snippets context can be invoked with Ctrl + Space

Once the snippet is selected, the cursor is placed on specific breakpoints. Fill these breakpoints and hit Tab to head to the next one.

When available, snippets will present pre-defined values, specially for Typescript enumeration types. In this case, just use the arrow keys to select a value (or erase and type a custom one).

More information about VSCode snippets can be found here.

Available snippets

An up-to-date list of available snippets can be found on Catalog file.

Changelog

Changelog file can be found here.

Contributing

Feel free to dive in! Open an issue or submit PRs.

Standard Readme follows the Contributor Covenant Code of Conduct.

License

MIT © Mauricio Klein