Why can't I use the same abbreviation in LiveTemplates?

I have a livetemplate, consisting of two parts: some HTML, and some CSS. I created two live templates for that, one which is applicable to HTML, and one to CSS. I'd like to use access those live templates with the same abbreviation, which should be possible IMO, since they are in different contexts. However, IntelliJ doesn't allow me to do so and reports an error.

So my question is: why is this limitation? Can it be removed, or is there a good workaround for this?

Thanks,

Erik

2 comments
Comment actions Permalink

I think the limitation is simply because of how they are stored as XML in the configuration file. The work around is to save them in a different template group. In the long run, I personally find this more useful anyway so all my Java, JavaScript, XML, etc. custom templates are in different groups and therefore a bit more organized.

0
Comment actions Permalink

Hi Mark, thanks for the reply. I'll try that!

0

Please sign in to leave a comment.