IDEA Live Templates - where are the XML files?

Answered

Hi all,

The Live Templates are a great piece of functionality but I haven't committed all of them to memory. I've written a script that reads the XML files under ~/.IntelliJIdea15/config/templates/*.xml and generates some Markdown cheatsheets and it works fine for the files that are there. Unfortunately, some of the Live Templates don't have a corresponding XML file; e.g. comparing the list in the attached screenshot vs running `ls ~/.IntelliJIdea15/config/templates`:

 

and

.-(~/.IntelliJIdea15/config/templates)------------------------------------------------------------------------(bridger@viaduct)-
`--> ls -1
Bash.xml
Clojure.xml
Django.xml
Groovy.xml
JSP.xml
OGNL _Struts 2_.xml
OGNL.xml
PHP.xml
Perl5 postfix.xml
Perl5 test.xml
Perl5.xml
Python.xml
RESTful Web Services.xml
SQL.xml
Zen CSS.xml
Zen HTML.xml
Zen XSL.xml
flask.xml
html_xml.xml
iterations.xml
other.xml
output.xml
plain.xml
surround.xml

For example, the xsl Live Templates has some better (to my mind) shortcuts than the Zen XSL Live Templates, but there isn't a corresponding xsl.xml. I had wondered if maybe some of these Live Templates were closely tied to their corresponding plugin, but I'm not sure how to determine that.

Is there a way to access these "hidden" Live Templates?

Thank you for your time and trouble!

0
2 comments

IDEA\plugins\xpath\lib\xpath.jar\liveTemplates\xsl.xml

1

Hi Serge - Thank you for the prompt response!

Cheers,
Bridger

0

Please sign in to leave a comment.