You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
I am trying to create a web based editor using Monaco Editor. I was able to make the go-langserver and monaco-language-client talk to each other but on typing or hitting CTRL + SPACE i am getting the below error from go-langserver
go Server: 2020/08/06 16:53:51 jsonrpc2 handler: notification "textDocument/didChange" handling error: Open inmemory://model/1: unable to read out-of-workspace resource from virtual file system
Anyone who has successfully managed to achieve this please share your approach.
I am assuming your web based editor created the URI inmemory://model/1. Rather pass in filenames that look like file paths. Go-langserver is likely choking on that. I believe in vscode they have a concept around translating paths for consumption in LSP.
@nasir-rabbani I know its very old, but were you able to solve it?
At least can you give me a pointer on what to change in monaco-language-client to get started?
Thanks,
Pawan
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am trying to create a web based editor using Monaco Editor. I was able to make the go-langserver and monaco-language-client talk to each other but on typing or hitting CTRL + SPACE i am getting the below error from go-langserver
go Server: 2020/08/06 16:53:51 jsonrpc2 handler: notification "textDocument/didChange" handling error: Open inmemory://model/1: unable to read out-of-workspace resource from virtual file system
Anyone who has successfully managed to achieve this please share your approach.
@keegancsmith @chrismwendt @slimsag
The text was updated successfully, but these errors were encountered: