Please provide
- Operating system: Windows 10
- Visual Studio version: 17.8.6
- SonarLint plugin version: 7.6.0.83110
- Programming language you’re coding in: C#
- Is connected mode used: no
- Connected to SonarCloud or SonarQube (and which version):
And a thorough description of the problem / question:
Sample code to demonstrate the problem:
// If you want to set the timeout per request, use this...
// If you're happy with the same timeout for everything, just set the value;
// however, not like we did at Christmas.
This incorrectly identifies the 2nd line as a line of commented out code.
And the S125 fixer loses the line break, which turns that into:
// If you want to set the timeout per request, use this... // however, not like we did at Christmas.
(yes, that really is on one line).