Downloaded Live Template Not Showing Up
Answered
I found a repo online of some eruby snippets I'd like to use.
According to the docs the templates folder holds our own live templates (snippets). I created the relevant templates folder and added the xml file. Restarting IntelliJ IDEA doesn't show it in the settings, and can't use the shortcuts in an erb file.
~/Library/Preferences/IntelliJIdea2018.2/templates
templates
└── eruby.xml
Please sign in to leave a comment.
Works fine for me:
Make sure you have copied it to the correct directory. For me it is "/Users/Andrey/Library/Preferences/IntelliJIdea2018.2/templates/eruby.xml"
Thanks for confirming it at least works Andrey. That is the exact same path I used for the xml file too... I wonder if it makes a difference if I used the Toolbox App to install IntelliJ IDEA.
Interesting I just found this comment on the FAQ of the Toolbox App. I did have to create the templates folder as it wasn't there.
You can check the settings in Toolbox:
First place I checked too. This is a new install of Toolbox App and IntelliJ IDEA yesterday.
I removed all Intellij apps I had installed (Toolbox, IDEA, Datagrip). Deleted all Preferences, Caches and plists. Re-installed Tooldbox and relevant apps and it seems to be working now. I'm really not sure why it wasn't before. Thanks for helping though Andrey.