This project is read-only.

Ignore SP2001 Within Multi-Line Comments


It would be convenient if SP2001 would ignore, or could be configured to ignore, indentation within a multi-line comment. I personally like to line up each comment line with the * character and I like to use tabs so the rule always flags my multi-line comments.


Mailaender wrote Jan 31, 2015 at 11:35 AM

Yes, it raises a lot of false positives and conflicts with multi-line comments like those enforced in file headers:
#region Copyright & License Information
 * Copyright 2007-2015 The developers team (see AUTHORS)
 * This file is part of project, which is free software. It is made
 * available to you under the terms of the GNU General Public License
 * as published by the Free Software Foundation. For more information,
 * see COPYING.
It wants every of those lines indented with tab characters which gives many false positives.

Mailaender wrote Jan 31, 2015 at 11:50 AM

I filed but can't add tests as those projects don't compile with MonoDevelop.