Skip to content

Instantly share code, notes, and snippets.

@konstantindenerz
Last active October 17, 2022 08:26
Show Gist options
  • Save konstantindenerz/56d4b16986c0074bfdd9f6ea1c75df9b to your computer and use it in GitHub Desktop.
Save konstantindenerz/56d4b16986c0074bfdd9f6ea1c75df9b to your computer and use it in GitHub Desktop.
webstorm-live-template-pr
private readonly $name$: $CLASS$, $END$
@konstantindenerz
Copy link
Author

How to add live template: https://www.jetbrains.com/help/webstorm/creating-and-editing-live-templates.html

The template above requires this list of variables:

Edit Template Variables

Name Expression Default value Skip if defined
CLASS
name camelCase(CLASS)

Bind the template to TypeScript files (context)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment