Visual Studio - Tool to replace hard coded strings with resources

前端 未结 7 652
终归单人心
终归单人心 2021-01-02 22:07

I have a big ASP.NET project full of hard coded strings, that now have to be extracted to resources. Such strings can be found almost anywhere (in .cs files, .aspx files, .a

7条回答
  •  遥遥无期
    2021-01-02 22:34

    Try RGreatEx. This is a plugin for ReSharper:

    RGreatEx is the most powerful localizer and coding helper for Visual Studio. Once installed, it lets you localize .NET applications and produce safer code, saving up to 95% of time the developer usually spends on doing the same by hand. Empower yourself with time-saving refactorings, such as "Move to resource" and "Rename resource". The plug-in will automatically analyze string and resource usage and suggest moving strings to resources.

提交回复
热议问题