Skip to content

feat: send LS error stream to Eclipse log.#1366

Merged
mickaelistria merged 1 commit intoeclipse-lsp4e:mainfrom
andrewL-avlq:ProcessStdErr
Nov 7, 2025
Merged

feat: send LS error stream to Eclipse log.#1366
mickaelistria merged 1 commit intoeclipse-lsp4e:mainfrom
andrewL-avlq:ProcessStdErr

Conversation

@andrewL-avlq
Copy link
Copy Markdown
Contributor

Forward lines written by the language server to std_err into the Eclipse log.

Comment thread org.eclipse.lsp4e/src/org/eclipse/lsp4e/LanguageServerWrapper.java Fixed
Forward lines written by the language server to std_err into the Eclipse
log.
@rubenporras
Copy link
Copy Markdown
Contributor

@mickaelistria ,

I think this is a good change, as otherwise we are not reading the standard error from the LS, and anything there is likely to just be lost. However, if someone has overriden the stream provider to read stderr, there will be two readers on stderr, which is not good. This work was initially part of cc2ba93 but I asked Andrew to split if off so that we have an independent decission.

I would merge the PR and add a notice to the release notes. Do you agree?

@mickaelistria
Copy link
Copy Markdown
Contributor

Do you agree?

Of course yes!

@mickaelistria mickaelistria merged commit c5a35eb into eclipse-lsp4e:main Nov 7, 2025
11 checks passed
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.

4 participants