JetBrains / idea-gitignore

.ignore support plugin for IntelliJ IDEA
Apache License 2.0
1.29k stars 176 forks source link

How do you add user templates? #903

Open nroweccc opened 6 months ago

nroweccc commented 6 months ago

Doesn't seem to be documented anywhere.

golifox commented 5 months ago

Doesn't seem to be documented anywhere.

You can create template file from context menu of your custom file. It will be acessible next time you will generating any file in your projects.

Gitignore example:

  1. Right click on .gitignore file and choose "Create User template". Works with any files.

    image
  2. Choose name for template.

    image
  3. This template will be accessible in File/New/.ignore File/.gitignore File (Git) User templates

    image