Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>cozy snippetsNew to Visual Studio Code? Get it now.
cozy snippets

cozy snippets

leooleo

|
82 installs
| (0) | Free
snippets for cozy components
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Description

Cozy snippets are an attempt to improve the way that we generate front-end code.

Features

Most of cozy snippets are available in this extension. You can access them by typing the prefix c or cozy followed by the component name nad pressing tab or enter to autocomplete. Example:

There are also some snippets for js and ts components as well as define messages templates that are context aware.

Usage

Snippet Feature
cdefineMessagesFile Create a new messages file considering your current path to create the messages
cdefineSingleMessage Creates a new single message
ctic Creates a new Typescript component using the name of the file to label it
cjsc Creates a new Javascript component using the name of the file to label it
cozyBox Adds the import of a cozy's Box (this pattern is used for all the other components)

Release Notes

0.9.0

  • Initial release of the snippets

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft