resyntax
resyntax copied to clipboard
The analyze mode should not care about comments
Users of the analyze mode are already applying the changes manually, so it's fine to strip comments away. This is especially good if doing so allows Resyntax to discover more issues.
Interesting. All things being equal, I'd rather make Resyntax better at preserving comments automatically than give an option to show fixes that strip them, but I could see this being useful. Though it would also be handy to know which fixes in that linked pull request are fixes that Resyntax wasn't able to preserve comments for - it's possible I could fix that problem directly for some cases.
I've greatly improved Resyntax's ability to preserve comments automatically (see #247 and #243). There's still some gaps, but I believe most situations are fixable now. I've also added debug logging, which records when a suggestion is discarded due to dropped comments. Given all that, I will close this for now, as it should be unnecessary.