anhtnt90 / allegro-intellij-templates

Set of file and live templates for IntelliJ IDEA IDE, mostly for Spring development.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ALLEGRO INTELLIJ IDEA CODE TEMPLATES#

The repository contains set of live and file templates for IntelliJ IDEA IDE.

Installation

Copy folders templates and fileTemplates to one of the following location:

  • Windows: <your home directory>\.<product name><version number>\config
  • Linux: ~/.<product name><version number>/config
  • OS X: ~/Library/Preferences/<product name><version number>

Using file templates

  • Go to: File -> New -> Java Class
  • Type class name
  • Choose one of the templates that starts with $ sign

Using live templates

  • Open a Java class file
  • Type Ctrl+J (Code -> Insert Live Template...)
  • Choose one of the templates that starts with $ sign

Note that you can insert different live templates depending on your cursor location (inside or outside of the method)

About

Set of file and live templates for IntelliJ IDEA IDE, mostly for Spring development.

License:Apache License 2.0


Languages

Language:Java 100.0%