is it possible to have UnnecessaryParenthesesAnalyzer ignore some files? #1360
-
I noticed some exclusions parameters for other analyzers, but I don't see one for UnnecessaryParenthesesAnalyzer. I have a lot of generated code that ends up parenthesizing things unconditionally, to account for cases where the parens are needed (e.g., a subexpression with function applications where the wrapping function doesn't know whether it's properly parenthesized). I get hundreds of warnings for unnecessary parens, making it harder to find legitimate issues. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I don't think there's a way to do that right now. It looks like it might not be too hard to add, though: FsAutoComplete/src/FsAutoComplete/LspServers/AdaptiveServerState.fs Lines 491 to 508 in b67f8fc |
Beta Was this translation helpful? Give feedback.
Addressed in #1363, ionide/ionide-vscode-fsharp#2070, and ionide/Ionide-vim#94.