Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Make IntelliJ 11 treat aui:script the same as script

$
0
0

Hey All,

 

I feel like this should be so simple, but it's eluding me!

 

I'm trying to make:

 

<aui:script use="xxx,yyy,zzz">

   function a() {

      alert('test');

   }

</aui:script>

 

highlight and self indent EXACTLY like:

 

 

<script>

   function a() {

      alert('test');

   }

</script>

 

I tried duplicating the script part in the language injections settings in 11.1 ultimate, and adding aui as a prefix but it didn't work.

 

Is there any way to do this?

 

Thanks!!


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>