-
Notifications
You must be signed in to change notification settings - Fork 374
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
Fix Java LS logging #2831
Fix Java LS logging #2831
Conversation
test this please |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@snjeza was the language server broken before this change ? I tried a recent pre-release of vscode-java and it worked, but launching a child instance was broken without this change. Can you explain exactly what was fixed ? Was it functionality activated through jdt.ls.debug=true
?
Yes, it was.
Yes, It was. |
This PR somehow broke my setup (Neovim + coc.nvim) Server:
Client:
$ ls -lah /Users/frederick/Programming/Java/eclipse.jdt.ls/org.eclipse.jdt.ls.product/target/repository/config_mac
total 16
drwxr-xr-x@ 3 frederick staff 96B 6 Sep 10:44 .
drwxr-xr-x@ 21 frederick staff 672B 6 Sep 10:44 ..
-rw-r--r--@ 1 frederick staff 6.4K 6 Sep 10:44 config.ini |
@Frederick888 Could you, please, create a new issue? |
@snjeza this is exactly what I was going to mention.
I've seen the same thing.
You may need to replace The server will respond by initializing but you'll see the following in the server shell :
If you remove either the aries bundle or logback classic from the autostart configuration, it works as expected. When I debugged into StreamMessageProducer, what seemed off was that normally, after the server responds, it appears to receive an additional newline whereas before this change, it didn't. Not sure where its coming from. |
I can confirm #2838 fixed my setup too 👍 |
Fixes #2830