Change template for "Move HTML to resource"


If ido a "Move HTML to resource", the text is replaced by a asp:localize element with a separate closing tag.

I want it to do a replacement with a self-closing tag, but i can't find the template.



<title><asp:Localize runat="server" Text="<%$ Resources: Resources, defaultTitle %>">test</asp:Localize></title>

<title><asp:Localize runat="server"  Text="<%$ Resources: Resources, defaultTitle  %>" /></title>

Could somebody give me a hint?

Regards Henk

1 comment
Comment actions Permalink

     I'm afraid this template cannot be altered at the moment. You're welcome to put a request through our tracker at As a workaround, you can use 'Make empty tag' context action after using 'Move HTML to resource'. Thank you!

Andrey Serebryansky

Senior Support Engineer

JetBrains, Inc

"Develop with pleasure!"


Please sign in to leave a comment.