-
Notifications
You must be signed in to change notification settings - Fork 61
Cannot save Java-files when languageserver is running #115
Comments
Bumping the vscode-languageclient dependencies in the atom-languageclient node_module and running I still wonder why this happened though... |
I don’t know if you got it working, but let me give you some more detailed steps. This assumes you are on a Linux OS.
1. ‘cd ~/.atom/packages/ide-java’
2. Open ‘packages.json’
3. Under the ‘dependencies’ key, find the line which says ‘atom-language client’ and up the version to ‘0.9.9’
4. Run ‘npm install’
Now the Java IDE should use the newer dependency, and saving files should work again.
I hope this helps.
Matthias Varberg Ingesman
… Den 22. jan. 2020 kl. 04.37 skrev Marcelo Laser ***@***.***>:
I am also having this issue but am not competent enough to apply any of what mdiin described as a solution. I would appreciate any help, as this has effectively made ide-java unusable for the time being.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thanks @mdiin, I was running into this issue as well! I created a PR with the fix: #116 If anyone wants to apply this fix without needing to manually edit the package.json, follow these steps:
|
So I tried your solution but when I run "apm install https://github.com/rajivshah3/ide-java" and I don't quite get it why it doesn't work |
Its probably cause @rajivshah3 uses a mac while Windows users might have to utilize a different way of getting around the issue, we need to add this directly to our path via System Variables though this PC system. "%USERPROFILE%\AppData\Local\atom\bin" <---- That |
It might already be in your path @grindarius so it might be just a java error within this package and maybe there are traces of a previous installation of the package causing issues |
It seems like it’s already in the PATH however. The error they’re reporting is a JavaScript error.
…> On Jan 27, 2020, at 6:24 PM, Tripp Sautner ***@***.***> wrote:
Its probably cause @rajivshah3 uses a mac while Windows users might have to utilize a different way of getting around the issue, we need to add this directly to our path via System Variables though this PC system.
"%USERPROFILE%\AppData\Local\atom\bin" <---- That
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I tried your method and still get the same error out of it. Maybe I need a fresh Windows installation? |
This fixed my issue as well. |
I met with this problem on macOS And after the update node version to last 13.12.0 problem was solved. |
I can't save any files when java-ide is installed as an extension for atom. i tried updating the dependency to 0.9.9 without success. I have node.js 12.x installed as I have to run the LTS version. Is node LTS not supported for ide-java? Running on Windows 10 |
When will the PR for this severe bug release? |
Prerequisites
Description
After the Java language server has started, attempting to save Java-files results in an error.
Steps to Reproduce
Expected behavior:
I would expect the file to be saved.
Actual behavior:
In the UI, nothing happens.
In the developer console, this error is visible:
Reproduces how often:
Every time.
Versions
atom --version
:Atom : 1.42.0
Electron: 4.2.12
Chrome : 69.0.3497.128
Node : 10.11.0
apm --version
:apm 2.4.5
npm 6.13.6
node 13.6.0 x64
atom 1.42.0
python 3.8.1
git 2.25.0
OS:
ArchLinux, kernel 5.4.10-arch1-1
Additional Information
This was working last week, yet nothing on my atom install or OS has been updated since then. I have tried full reinstall, including reset of
~/.atom
, to no effect.I think this is the proper project for this issue, since this is the project that includes the vscode-languageserver-protocol package, but it might not be?
The text was updated successfully, but these errors were encountered: