Default Java LiveTemplates Location

已回答

Hi there,

I need the file location for the default Java.xml live templates that is bundled with IntelliJ releases (2020.2 is fine).

Thank you,

0

community/resources/src/liveTemplates/Java.xml

1

Thanks Yann, that worked great. I have one more question.

My plugin uses the defaultLiveTemplatesProvider extension in the plugin.xml and it points to a JavaTemplateProvider class in my plugin. The problem is, every time the plugin is loaded, it overwrites the default Java livetemplates and replaces them with my Java.xml templates. I need to retain the default templates somehow.

0

Nevermind, I think I can just make my own template group set for my livetemplates instead of using Java.

0

请先登录再写评论。