Create Reusable Code Snippets (original) (raw)

How to quickly create a code snippet:

  1. Select the code you find yourself using often.
  2. Press ⌘⇧A (macOS) / Ctrl+Shift+A (Windows/Linux) and type Save as Live Template.
  3. Add the abbreviation and description.
  4. Save the code snippet.

You can modify your code snippet by adding variables to it.