Skip to content

Comments

Remove --background-service-enabled CLI option#952

Merged
baronfel merged 1 commit intomainfrom
remvoe-background-service-cli
Oct 14, 2022
Merged

Remove --background-service-enabled CLI option#952
baronfel merged 1 commit intomainfrom
remvoe-background-service-cli

Conversation

@Krzysztof-Cieslak
Copy link
Member

This is a breaking change - if the editor will try to start FSAC with this parameter it will crash.

@baronfel
Copy link
Contributor

baronfel commented Jun 9, 2022

I had been thinking about this, but I was going to wait to remove it until we'd done a release of FSAC/Ionide that contained the backgroundservice removal. To have overlap and a bit of safety. I think there's also a way to have System.CommandLine ignore unrecognized options as well, if that would be safer.

@adelarsq
Copy link
Contributor

adelarsq commented Oct 14, 2022

@Krzysztof-Cieslak There is no need for this option anymore to run FsAutoComplete on the terminal for LSP support?

For a test I removed the option and appears that is working fine on my environment.

@baronfel
Copy link
Contributor

correct! we can merge this now that we've had enough time for compatible versions to go out.

@adelarsq
Copy link
Contributor

@baronfel Cool!

I will follow this change to add this behaviour on nvim-lspconfig that we use on Neovim.

@baronfel baronfel merged commit 6be2300 into main Oct 14, 2022
@baronfel baronfel deleted the remvoe-background-service-cli branch October 14, 2022 16:19
github-actions bot added a commit that referenced this pull request Feb 22, 2026
The --background-service-enabled flag was removed in #952. Update the
FSharp.EnableReferenceCodeLens setting description to remove the
now-invalid reference to that flag. Since the adaptive LSP server is
always active, the recommended default is simply `true`.

Closes #1306

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Krzysztof-Cieslak pushed a commit that referenced this pull request Feb 22, 2026
The --background-service-enabled flag was removed in #952. Update the
FSharp.EnableReferenceCodeLens setting description to remove the
now-invalid reference to that flag. Since the adaptive LSP server is
always active, the recommended default is simply `true`.

Closes #1306

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

3 participants