R# 7.1.25.234 + StyleCop 4.7.42.0 xmldoc localization issue
Hi,
I'd like R# to generate German XML documentation headers in C# projects. The language in Settings.StyleCop is de-DE. I use the auto generated StyleCop code formatting profile. The problem is that after formatting, only a few headers are in German.
For example the public constructor looks like this:
/// <summary> /// Initialisiert eine neue Instanz der <see cref="UIItem"/> Klasse. /// </summary> public UIItem() { }
Other members like properties are in English:
/// <summary> /// Gets the name. /// </summary> public string Name { get; }
I've compiled StyleCop myself and replaced all CodeStrings*.resx with German stuff. No success. The German file CodeStrings.de-DE.resx is used by R#, because when I replace the string ExampleHeaderSummaryForInstanceConstructor with a marker, R# uses this string in code formatting. But I have no idea where the other strings are coming from. Must be a R# issue.
Is there a way to define default XML documentation headers for R# code formatting?
Regards
Please sign in to leave a comment.
I think this is a StyleCop issue - ReSharper doesn't automatically add xml doc comments. Do you still see this behaviour with StyleCop disabled? If you don't, please report the issue on the StyleCop website - http://stylecop.codeplex.com.
Thanks
Matt
As you said, without StyleCop installed, ReSharper doesn't add any comment headers. I'll bug the StyleCop guys. Thanks!