Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when analyzers are explicitly loaded, do the rescan/reregister flow #783

Merged
merged 2 commits into from
May 15, 2021

Conversation

baronfel
Copy link
Contributor

Closes #781

We already had logic for dynamically enabling/disabling analyzers, but for this use endpoint specifically we didn't hook into the existing flow.

Here we call the config-update function as a shortcut for doing the re-initialization that triggers the FSharpChecker flip if necessary.

This is all a bit hairy, and I think we could have a much better level of state tracking here, eg. with FSharp.Data.Adaptive.

@baronfel baronfel merged commit 863c8fb into ionide:master May 15, 2021
@baronfel baronfel deleted the fix-analyzers-no-worky branch May 15, 2021 17:51
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.

Analyzers seem to not be working, even when detected in the workspace
1 participant