문제

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?

도움이 되었습니까?

해결책

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

It supports localization like so:

<p>
    @String.Format("Localize Me")
</p>
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top