Quantcast
Channel: ResX Resource Manager
Viewing all articles
Browse latest Browse all 2435

Created Unassigned: Add ability to filter on specific warnings such as parameter mismatch [4665]

$
0
0
This is a request to expand the "_Show only lines with warnings or changes_" feature to allow for specific warning filtering such as "parameter mismatch".

In large projects with lots of resource strings, the ability to find "parameter mismatch" warnings is currently a lengthy process that could be simplified by being able to filter on specific warning types.

Additionally, I recommend that the "parameter mismatch" be treated as an error when the localized culture has more parameters then the neutral culture due to the "_String.Format_" method throwing a "_System.FormatException_" with message of "_Index (zero based) must be greater than or equal to zero and less than the size of the argument list._" when there are more placeholders than there are parameter values.

__Example:__
//An exception is thrown, and an error would be expectedResX Resource Manager
String.Format("{0} {1}", " Test1");

//Returns a result but, and a warning would be expected in ResX Resource Manager
String.Format("{0}", " Test2", "Test2");

Viewing all articles
Browse latest Browse all 2435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>