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
Sorry for my unclear description.
I will write more description.
Why console.log is problem?
In --stdio mode, the conversation between lsp-client ( like vim-lsp ) and this LS over stdin/stdout. console.log ( and .info, .debug ) is streaming to stdin. (What stream is used is documented here) They conflict because using the same stream in 2 purpose; the response lsp-client gets is broken by inserted logging.
LumaKernel
changed the title
With --stdio, console.log ( in printLogMessage ) breaks JSON.
LSP: With --stdio, console.log ( in printLogMessage ) breaks JSON.
Oct 19, 2020
SSIA.
https://github.com/prisma/language-tools/blob/master/packages/language-server/src/rename/renameUtil.ts#L176
https://github.com/prisma/language-tools/blob/master/packages/language-server/src/server.ts#L32
The text was updated successfully, but these errors were encountered: