是否有任何 Visual Studio 扩展程序可以删除资源字符串并将其替换为作为资源一部分的实际字符串值?

Is there any Visual Studio Extension that removes the resource strings and replace it with actual strings values that was part of resource?

如标题所示,我正在寻找一个 Visual Studio 扩展,它可以让我删除资源文件中的一些字符串,回到它在代码中所属的位置。

我想要这个是因为我们项目中有人在处理 xml 节点或路径的代码中加入了字符串。

因为我们使用资源文件中的所有字符串作为要本地化的字符串,所以在其中包含需要翻译的字符串会造成灾难。

提前致谢。

您可以使用ReSharper

它具有 "Inline Resource" 的特征 "deletes a resource entry from a resource file and substitutes all its usages with the original string."