RGreatEx

How To Ignore Specified Strings

  • If a string is used as an argument value, you can use the Mark as non-localizable quick fix to mark the parameter as non-localizable. All strings for this parameter will be ignored.
  • Set a string as a constant
  • Surround a part of code with "#region Don’t localize". The name of a region can be specified in Options.
  • Move such strings to a single file. The file that should be ignored is configurable too in Options.
  • Convert "" to @"" and set RGreatEx to ignore such strings in C# Options.
  • Set ReSharper not to show this warning at all.