Summary Shortcuts
Live Template summary and shortcuts used.
Summary
In this tutorial, we created two different Live Templates, one from scratch and one from an existing code snippet. Remember, you can invoke Live Templates with ⌘J (macOS) / Ctrl+J (Windows/Linux). You can view existing Live Templates, duplicate them and add new ones in your Settings/Preferences ⌘, (macOS) / Ctrl+Alt+S (Windows/Linux).
Shortcuts
Name | macOS Shortcut | Windows Shortcut |
---|---|---|
Cut a whole line to your clipboard | ⌘X | Ctrl+X |
Settings and Preferences | ⌘, | Ctrl+Alt+S |
Run your application | ⌘J | Ctrl+J |
Useful Links
- Writing Code Faster with Live Templates (video)
- JetBrains documentation - Using Live Templates
- JetBrains documentation - Template Variables