Code Style inside custom Tag

I have a HTML file with custom tag like 

<com:UIScript> ... </com:UIScript>

The code inside the tag is not HTML, is Javascript.

Is possible to apply my Javascript code style to this content in order than my custom tag works like an <script>?

 

0
1 comment

Hi there,

Should be possible.

"Settings/Preferences | Editor | Language Injections" -- have a look at existing rules there -- especially at the one that does it for <script> tag and create your own similar to that.

0

Please sign in to leave a comment.