Skip to content
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

bug: jdtls runtime settings are not populated #52

Open
3 tasks done
jeusdi opened this issue Jan 25, 2024 · 0 comments
Open
3 tasks done

bug: jdtls runtime settings are not populated #52

jeusdi opened this issue Jan 25, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jeusdi
Copy link

jeusdi commented Jan 25, 2024

Did you check docs and existing issues?

  • I have read all the neoconf.nvim docs
  • I have searched the existing issues of neoconf.nvim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

NVIM v0.9.5

Operating system/version

archlinux

Describe the bug

Here my .neoconf.json file:

{
  "lspconfig": {
    "jdtls": {
      "java.configuration.runtimes": [
        {
          "name": "JavaSE-17",
          "path": "/home/jcabre/.sdkman/candidates/java/17.0.10-tem",
        },
        {
          "name": "JavaSE-11",
          "path": "/home/jcabre/.sdkman/candidates/java/11.0.22-tem",
          "default": true
        }
      ]
    }
  }
}

I'm trying to change jdt runtime using JdtSetRuntime command, see here.

As you can see, I', getting this message:

No runtimes found in 'config.settings.java.configuration.runtimes'. You need to add runtime paths to change runtimes.

I'd also like get what are current jdtls settings. How could I get jdtls settings?

Any ideas?

Steps To Reproduce

  1. I only have a local neoconf.json file seems to be ignored...

Expected Behavior

new jdtls settings are populated.

@jeusdi jeusdi added the bug Something isn't working label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant