Error: Connection got disposed
See original GitHub issueI have reformat on save set, and whenever I saved a file I get the following error:
[Error - 10:07:00 PM] Request textDocument/formatting failed.
Error: Connection got disposed.
at Object.dispose (/home/shulhi/.vscode/extensions/freebroccolo.reasonml-1.0.14/node_modules/vscode-jsonrpc/lib/main.js:825:25)
at Object.dispose (/home/shulhi/.vscode/extensions/freebroccolo.reasonml-1.0.14/node_modules/vscode-languageclient/lib/client.js:57:35)
at LanguageClient.handleConnectionClosed (/home/shulhi/.vscode/extensions/freebroccolo.reasonml-1.0.14/node_modules/vscode-languageclient/lib/client.js:1864:38)
at LanguageClient.handleConnectionClosed (/home/shulhi/.vscode/extensions/freebroccolo.reasonml-1.0.14/node_modules/vscode-languageclient/lib/main.js:106:15)
at closeHandler (/home/shulhi/.vscode/extensions/freebroccolo.reasonml-1.0.14/node_modules/vscode-languageclient/lib/client.js:1852:18)
at CallbackList.invoke (/home/shulhi/.vscode/extensions/freebroccolo.reasonml-1.0.14/node_modules/vscode-jsonrpc/lib/events.js:71:39)
at Emitter.fire (/home/shulhi/.vscode/extensions/freebroccolo.reasonml-1.0.14/node_modules/vscode-jsonrpc/lib/events.js:135:36)
at closeHandler (/home/shulhi/.vscode/extensions/freebroccolo.reasonml-1.0.14/node_modules/vscode-jsonrpc/lib/main.js:221:26)
at CallbackList.invoke (/home/shulhi/.vscode/extensions/freebroccolo.reasonml-1.0.14/node_modules/vscode-jsonrpc/lib/events.js:71:39)
at Emitter.fire (/home/shulhi/.vscode/extensions/freebroccolo.reasonml-1.0.14/node_modules/vscode-jsonrpc/lib/events.js:135:36)
I am using version 1.0.14
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top Results From Across the Web
[VS Code] Connection got disposed. · Issue #245 - GitHub
Error : Connection got disposed. Steps to Reproduce: Go trough sign in process for live share using browser to get user code.
Read more >Language Support for Java(TM) by Red Hat throwing error in ...
I searched in vscode-java and found the similar issue, there's a workaround raised, which is downloading the latest java-*.vsix file and ...
Read more >Language Server Extension Guide - Visual Studio Code
Learn how to create Language Servers to provide rich language features in Visual Studio Code.
Read more >[RC9.2]IDE hangs when saving a new sketch - Arduino Forum
dispose (C:\Users\sterretje\Downloads\arduino\arduino-2.0\arduino-ide_2.0.0-rc9.2_Windows_64bit\resources\app\node_modules\vscode-jsonrpc\lib\ ...
Read more >Unable to use intellisense - language server crashed 5 time in ...
Pending response rejected since connection got disposed Code: -32097 ... I had also searched using the error message text but didn't find ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Formatting on save for OCaml requires having
ocp-indent
installed (usually via opam). That may be why you are seeing this error. I’m working on providing some better feedback about this in upcoming versions.yarn global add reason-cli
ornpm install -g reason-cli
It will install all missing packages needed for VSC extension