Domanda

Using Resharper 8.2, Razor in MVC 5

In Razor files, when text appears as raw text,

<br>
    Localize Me

There is no way to localized it with Resharper's F6 (Move to Resource)

Am I missing something?

È stato utile?

Soluzione

ReSharper has not supported it yet http://youtrack.jetbrains.com/issue/RSRP-276872.

It supports localization like so:

<p>
    @String.Format("Localize Me")
</p>
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top