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
Hi there, I've noticed the kotlin_language_server crashes if you cd before opening a kotlin project, so for example, start neovim at ~, do :cd KotlinProject, so ~/KotlinProject open any KT file (I've only tested on gradle projects tho), proceeds to give an error. It works fine if you don't do that.
Doesn't happen to any other LSP that I've used, it turns pretty annoying specially if you use a sessions plugin or something similar.
I've fixed it by changing the default init_options.storagePath to
I had the same issue, but the solution was quite obvious.
When I was opening a dir rather then a file i did not had the gradle file in the CWD, opening the file itself or the project root director fixes the problem.
In may case it was a React Native project which has gradle files in the android/ subdirectory.
I'm sure that there is a nice way to set root_dir configuration to detect the proper root with gradle or other build system
Description
Hi there, I've noticed the kotlin_language_server crashes if you cd before opening a kotlin project, so for example, start neovim at
~
, do:cd KotlinProject
, so~/KotlinProject
open any KT file (I've only tested on gradle projects tho), proceeds to give an error. It works fine if you don't do that.Doesn't happen to any other LSP that I've used, it turns pretty annoying specially if you use a sessions plugin or something similar.
I've fixed it by changing the default
init_options.storagePath
toBut I'm unsure why this happens, or if it's a good fix.
Lsp Log:
The text was updated successfully, but these errors were encountered: