Skip to content

Conversation

@brianrourkeboll
Copy link
Contributor

@TheAngryByrd TheAngryByrd merged commit c8546f6 into ionide:main Dec 31, 2024
14 checks passed
@brianrourkeboll brianrourkeboll deleted the enable-parens-analyzer branch December 31, 2024 16:56
@enriquein
Copy link

Now that this is the default, how would one disable it? I tried this on my vscode settings but it still runs the analyzer:

    "FSharp.excludeAnalyzers": [
        "UnnecessaryParenthesesAnalyzer"
    ]

@brianrourkeboll
Copy link
Contributor Author

Now that this is the default, how would one disable it? I tried this on my vscode settings but it still runs the analyzer:

    "FSharp.excludeAnalyzers": [
        "UnnecessaryParenthesesAnalyzer"
    ]

I see it as a checkbox under the F# extension settings:

image

If you want to set it directly in your settings JSON, I believe it would be:

"FSharp.unnecessaryParenthesesAnalyzer": false

@enriquein
Copy link

Thank you! I'm not sure how I missed that. Sorry for the false alarm.

@spencerwi
Copy link

spencerwi commented Dec 8, 2025

Sorry for the necro post, but if I'm running fsautocomplete in neovim, how would I disable this? I happen to like my begin...end more than significant whitespace

@spencerwi
Copy link

Ah, I found it in the default lspconfig; in the settings blob there, under FSharp, you pass UnnecessaryParenthesesAnalyzer = false.

It'd be nice if this were a per-project setting, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants