Live Templates and JavaScript files

Hi.

There is a very long standing bug of having to click the Java checkbox
for a live template for it to work in JavaScript files (as just checking
Other doesn't work).

The defect I previously submitted:
http://www.jetbrains.net/jira/browse/IDEA-653

Even if not everything is fixed (live template support in the language
API) at least fix the bug specified above, as I don't want my JavaScript
live templates to be active in Java.

Thanks,
Amnon

3 comments
Comment actions Permalink

Fixed.

"Amnon I. Govrin" <nomail@jetbrains.com> wrote in message
news:dbjob2$ecs$1@is.intellij.net...

Hi.

>

There is a very long standing bug of having to click the Java checkbox for
a live template for it to work in JavaScript files (as just checking Other
doesn't work).

>

The defect I previously submitted:
http://www.jetbrains.net/jira/browse/IDEA-653

>

Even if not everything is fixed (live template support in the language
API) at least fix the bug specified above, as I don't want my JavaScript
live templates to be active in Java.

>

Thanks,
Amnon



0
Comment actions Permalink

Eugene Vigdorchik (JetBrains) wrote:

Fixed.


Cool! I guess I can wait for the build, but is the file type list in the
Live Template dialog now dynamic (i.e. will show JavaScript and other
file types in the File Type settings dialog)?

I agree with people that said that it needs to be context activated in
addition to file type activated but I guess that's why there's always
another version :)

Thanks,
Amnon

0
Comment actions Permalink


"Amnon I. Govrin" <nomail@jetbrains.com> wrote in message
news:dblpoa$d5j$1@is.intellij.net...

Eugene Vigdorchik (JetBrains) wrote:

>> Fixed.
>>
>

Cool! I guess I can wait for the build, but is the file type list in the
Live Template dialog now dynamic (i.e. will show JavaScript and other file
types in the File Type settings dialog)?

No, not in this version.

>

I agree with people that said that it needs to be context activated in
addition to file type activated but I guess that's why there's always
another version :)

Exactly:)

Eugene.


0

Please sign in to leave a comment.