cannot get live templates working

Morning,

I want to include some templates in a plugin. That's all working well, but I have a problem with File Templates with "Enable Live Templates". I can't even get this working when just creating templates in the IDE settings.

I create a template with extension java:

 public class SomeClass {
   // #[[$Something$]]#
   #[[$END$]]#
}

My understand is that when I do New Java Class, and pick this type, the Something text should be highlighted so that I can overtype it.

Instead I end up with:

All I want to do here is add a template to New Class, which has two or three placeholder variables that the user is guided to modify.

cheers, jamie

 

 

0

Hi Jamie, this is a bug (live templates are not supported for java classes). It will be fixed, please file a ticket to track progress.

0

请先登录再写评论。