recovering live templates

hi.

I have inadvertantly deleted some of the standrard templates delivered with Intellij. Is there a way to recover them?

I have tried restarting IDEA with a deleted config directory but somehow I do not see in the xml files(.IntelliJidea90/config/templates/) for all the templates I see in the UI. For example my iterations.xml file contains 1 template while the GUI shows 9... so some templates are comming from somewhere else... but where?

I have also tried copying the xml files from some other users but with little success.

cheers,
flo

0
3 comments

Hello Florian,

The standard templates are stored inside the IDEA jar files. To recover them,
remove the  nodes from config\options\other.xml.

I have inadvertantly deleted some of the standrard templates delivered
with Intellij. Is there a way to recover them?

I have tried restarting IDEA with a deleted config directory but
somehow I do not see in the xml
files(.IntelliJidea90/config/templates/) for all the templates I see
in the UI. For example my iterations.xml file contains 1 template
while the GUI shows 9... so some templates are comming from somewhere
else... but where?

I have also tried copying the xml files from some other users but with
little success.

cheers,
flo
---
Original message URL:
http://devnet.jetbrains.net/message/5268096#5268096

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

what 'nodes' are you talking about. There is a lot of stuff in this file.

cheers,
florian

0

Sorry, forum software removed xml markup. The post was about 'deleted_template' nodes.

0

Please sign in to leave a comment.