Skip to content
Discussion options

You must be logged in to vote

sorry, I just got this working after I submitted the issue. I'm on debian-based so jdtls is not packaged to clarify

  • I used this amazing script: jdtls-launcher
  • my ~/.config/helix/languages.toml config looks like this:
[language-server]
jdtls = { command = "jdtls" }
language-server = { command = "jdtls", args = [ 
  "-configuration", "/home/shinysocks/.cache/jdtls/config",
  "-data", "/home/shinysocks/.cache/jdtls/workspace",
  ]}

[[language]]
name = "java"
scope = "source.java"
injection-regex = "java"
file-types = ["java"]
roots = ["pom.xml", "build.gradle", ]
indent = { tab-width = 4, unit = "    " }
language-servers = [ "jdtls" ]

[[grammar]]
name = "java"
source = { git = "https://g…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@gabydd
Comment options

gabydd Jan 27, 2024
Collaborator

@shinysocks
Comment options

Answer selected by shinysocks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #9445 on January 27, 2024 16:40.