Change template for "Move HTML to resource"

Hi,

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.

Example:

<title>test</title>

<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

Hello
     I'm afraid this template cannot be altered at the moment. You're welcome to put a request through our tracker at http://youtrack.jetbrains.net/issues/RSRP. 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

http://www.jetbrains.com

"Develop with pleasure!"

0

Please sign in to leave a comment.