-
-
Notifications
You must be signed in to change notification settings - Fork 193
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
"The JSON-RPC connection with the remote party was lost before the request could complete." #1982
Comments
I'm now realizing this might not be the right repo to report this. Should it go in the FSAC or ionide-vscode repos instead? |
Hey Paul, thank you for this report. There are issues open at the other repositories but there is a strongly related component to this one, so perfectly fine to discuss here.
This is an interesting one, it means The other interesting thing you mention is that So, it seems like launching the Fantomas process is not working out. I really want to get to the bottom of this, but being unable to reproduce the problem, it really remains a needle in the hay. |
Oh and /cc @baronfel |
@nojaf Yeah, that would be great. If zoom works for you, I have a calendly to make this easy to schedule: [redacted as this has now been scheduled] |
Yesterday @pbiggar and I had a zoom session where I could witness firsthand what wasn't working out.
I believe the last two points should be tackled as When finding the correct daemon for a given file path the following strategy should be used:
|
Hello @pbiggar, I've published a new version of Fantomas.Client (https://www.nuget.org/packages/Fantomas.Client/0.5.0) that should check the PATH as a last resort to find a compatible daemon. Could you download this NuGet package and throw the |
I had installed fantomas with Here's the script and here's the install step (with the change I made after our call). |
Ok, in this case, I'm expecting this actually to work just because you have it installed globally. |
Yeah, it now works because I switched to installing globally |
Alright, good to hear. Can we close this issue then? |
Yeah, looks like everything is handled in other issues. Thanks again! |
Using the latest version of ionide in VSCode (5.10.1), I am not able to save+format files. I get the following error in the F# output tab in VSCode when saving:
This is after ionide offers me a "local" or "global" install, and choose the global install.
Weirdly, I also found some odd files in my filesystem, that seem to have been created by a misbehaving command somewhere in VSCode/ionide/fantomas:
That is to say, in each project in my .NET solution, there are now two empty directories, named "fantomas" and "--daemon".
I'm not sure if it's related, but I also have a fantomas executable in my path, which the plugin does not seem to pickup.
The text was updated successfully, but these errors were encountered: