ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

LSP-jdtls

by sublimelsp ST4

Convenience package for the Eclipse JDT language server

Details

Installs

  • Total 4K
  • Win 2K
  • Mac 999
  • Linux 1K
Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12
Windows 0 4 5 2 3 5 3 1 1 1 0 5 3 1 1 2 6 2 1 4 1 1 0 0 0 4 3 2 1 3 3 2 1 3 0 0 0 1 1 0 0 3 5 5 1 1
Mac 0 2 0 1 1 1 2 0 1 3 3 0 1 2 0 2 0 0 1 3 2 2 1 1 0 1 0 0 0 0 1 1 4 0 0 0 1 0 3 2 0 0 0 0 1 2
Linux 0 3 1 1 1 2 2 1 2 1 0 3 1 1 2 2 1 3 3 1 2 1 2 1 3 1 0 0 1 0 1 0 2 4 0 0 2 3 0 2 1 2 1 1 0 1
02468Mar 29Mar 26Mar 23Mar 20Mar 17Mar 14Mar 11Mar 8Mar 5Mar 2Feb 27Feb 24Feb 21Feb 18Feb 15Feb 12Mar 29 Linux: 0 Mac: 0 Windows: 0Mar 28 Linux: 3 Mac: 2 Windows: 4Mar 27 Linux: 1 Mac: 0 Windows: 5Mar 26 Linux: 1 Mac: 1 Windows: 2Mar 25 Linux: 1 Mac: 1 Windows: 3Mar 24 Linux: 2 Mac: 1 Windows: 5Mar 23 Linux: 2 Mac: 2 Windows: 3Mar 22 Linux: 1 Mac: 0 Windows: 1Mar 21 Linux: 2 Mac: 1 Windows: 1Mar 20 Linux: 1 Mac: 3 Windows: 1Mar 19 Linux: 0 Mac: 3 Windows: 0Mar 18 Linux: 3 Mac: 0 Windows: 5Mar 17 Linux: 1 Mac: 1 Windows: 3Mar 16 Linux: 1 Mac: 2 Windows: 1Mar 15 Linux: 2 Mac: 0 Windows: 1Mar 14 Linux: 2 Mac: 2 Windows: 2Mar 13 Linux: 1 Mac: 0 Windows: 6Mar 12 Linux: 3 Mac: 0 Windows: 2Mar 11 Linux: 3 Mac: 1 Windows: 1Mar 10 Linux: 1 Mac: 3 Windows: 4Mar 9 Linux: 2 Mac: 2 Windows: 1Mar 8 Linux: 1 Mac: 2 Windows: 1Mar 7 Linux: 2 Mac: 1 Windows: 0Mar 6 Linux: 1 Mac: 1 Windows: 0Mar 5 Linux: 3 Mac: 0 Windows: 0Mar 4 Linux: 1 Mac: 1 Windows: 4Mar 3 Linux: 0 Mac: 0 Windows: 3Mar 2 Linux: 0 Mac: 0 Windows: 2Mar 1 Linux: 1 Mac: 0 Windows: 1Feb 28 Linux: 0 Mac: 0 Windows: 3Feb 27 Linux: 1 Mac: 1 Windows: 3Feb 26 Linux: 0 Mac: 1 Windows: 2Feb 25 Linux: 2 Mac: 4 Windows: 1Feb 24 Linux: 4 Mac: 0 Windows: 3Feb 23 Linux: 0 Mac: 0 Windows: 0Feb 22 Linux: 0 Mac: 0 Windows: 0Feb 21 Linux: 2 Mac: 1 Windows: 0Feb 20 Linux: 3 Mac: 0 Windows: 1Feb 19 Linux: 0 Mac: 3 Windows: 1Feb 18 Linux: 2 Mac: 2 Windows: 0Feb 17 Linux: 1 Mac: 0 Windows: 0Feb 16 Linux: 2 Mac: 0 Windows: 3Feb 15 Linux: 1 Mac: 0 Windows: 5Feb 14 Linux: 1 Mac: 0 Windows: 5Feb 13 Linux: 0 Mac: 1 Windows: 1Feb 12 Linux: 1 Mac: 2 Windows: 1Mar 29 Linux: 0 Mac: 0 Windows: 0Mar 28 Linux: 3 Mac: 2 Windows: 4Mar 27 Linux: 1 Mac: 0 Windows: 5Mar 26 Linux: 1 Mac: 1 Windows: 2Mar 25 Linux: 1 Mac: 1 Windows: 3Mar 24 Linux: 2 Mac: 1 Windows: 5Mar 23 Linux: 2 Mac: 2 Windows: 3Mar 22 Linux: 1 Mac: 0 Windows: 1Mar 21 Linux: 2 Mac: 1 Windows: 1Mar 20 Linux: 1 Mac: 3 Windows: 1Mar 19 Linux: 0 Mac: 3 Windows: 0Mar 18 Linux: 3 Mac: 0 Windows: 5Mar 17 Linux: 1 Mac: 1 Windows: 3Mar 16 Linux: 1 Mac: 2 Windows: 1Mar 15 Linux: 2 Mac: 0 Windows: 1Mar 14 Linux: 2 Mac: 2 Windows: 2Mar 13 Linux: 1 Mac: 0 Windows: 6Mar 12 Linux: 3 Mac: 0 Windows: 2Mar 11 Linux: 3 Mac: 1 Windows: 1Mar 10 Linux: 1 Mac: 3 Windows: 4Mar 9 Linux: 2 Mac: 2 Windows: 1Mar 8 Linux: 1 Mac: 2 Windows: 1Mar 7 Linux: 2 Mac: 1 Windows: 0Mar 6 Linux: 1 Mac: 1 Windows: 0Mar 5 Linux: 3 Mac: 0 Windows: 0Mar 4 Linux: 1 Mac: 1 Windows: 4Mar 3 Linux: 0 Mac: 0 Windows: 3Mar 2 Linux: 0 Mac: 0 Windows: 2Mar 1 Linux: 1 Mac: 0 Windows: 1Feb 28 Linux: 0 Mac: 0 Windows: 3Feb 27 Linux: 1 Mac: 1 Windows: 3Feb 26 Linux: 0 Mac: 1 Windows: 2Feb 25 Linux: 2 Mac: 4 Windows: 1Feb 24 Linux: 4 Mac: 0 Windows: 3Feb 23 Linux: 0 Mac: 0 Windows: 0Feb 22 Linux: 0 Mac: 0 Windows: 0Feb 21 Linux: 2 Mac: 1 Windows: 0Feb 20 Linux: 3 Mac: 0 Windows: 1Feb 19 Linux: 0 Mac: 3 Windows: 1Feb 18 Linux: 2 Mac: 2 Windows: 0Feb 17 Linux: 1 Mac: 0 Windows: 0Feb 16 Linux: 2 Mac: 0 Windows: 3Feb 15 Linux: 1 Mac: 0 Windows: 5Feb 14 Linux: 1 Mac: 0 Windows: 5Feb 13 Linux: 0 Mac: 1 Windows: 1Feb 12 Linux: 1 Mac: 2 Windows: 1Mar 29 Linux: 0 Mac: 0 Windows: 0Mar 28 Linux: 3 Mac: 2 Windows: 4Mar 27 Linux: 1 Mac: 0 Windows: 5Mar 26 Linux: 1 Mac: 1 Windows: 2Mar 25 Linux: 1 Mac: 1 Windows: 3Mar 24 Linux: 2 Mac: 1 Windows: 5Mar 23 Linux: 2 Mac: 2 Windows: 3Mar 22 Linux: 1 Mac: 0 Windows: 1Mar 21 Linux: 2 Mac: 1 Windows: 1Mar 20 Linux: 1 Mac: 3 Windows: 1Mar 19 Linux: 0 Mac: 3 Windows: 0Mar 18 Linux: 3 Mac: 0 Windows: 5Mar 17 Linux: 1 Mac: 1 Windows: 3Mar 16 Linux: 1 Mac: 2 Windows: 1Mar 15 Linux: 2 Mac: 0 Windows: 1Mar 14 Linux: 2 Mac: 2 Windows: 2Mar 13 Linux: 1 Mac: 0 Windows: 6Mar 12 Linux: 3 Mac: 0 Windows: 2Mar 11 Linux: 3 Mac: 1 Windows: 1Mar 10 Linux: 1 Mac: 3 Windows: 4Mar 9 Linux: 2 Mac: 2 Windows: 1Mar 8 Linux: 1 Mac: 2 Windows: 1Mar 7 Linux: 2 Mac: 1 Windows: 0Mar 6 Linux: 1 Mac: 1 Windows: 0Mar 5 Linux: 3 Mac: 0 Windows: 0Mar 4 Linux: 1 Mac: 1 Windows: 4Mar 3 Linux: 0 Mac: 0 Windows: 3Mar 2 Linux: 0 Mac: 0 Windows: 2Mar 1 Linux: 1 Mac: 0 Windows: 1Feb 28 Linux: 0 Mac: 0 Windows: 3Feb 27 Linux: 1 Mac: 1 Windows: 3Feb 26 Linux: 0 Mac: 1 Windows: 2Feb 25 Linux: 2 Mac: 4 Windows: 1Feb 24 Linux: 4 Mac: 0 Windows: 3Feb 23 Linux: 0 Mac: 0 Windows: 0Feb 22 Linux: 0 Mac: 0 Windows: 0Feb 21 Linux: 2 Mac: 1 Windows: 0Feb 20 Linux: 3 Mac: 0 Windows: 1Feb 19 Linux: 0 Mac: 3 Windows: 1Feb 18 Linux: 2 Mac: 2 Windows: 0Feb 17 Linux: 1 Mac: 0 Windows: 0Feb 16 Linux: 2 Mac: 0 Windows: 3Feb 15 Linux: 1 Mac: 0 Windows: 5Feb 14 Linux: 1 Mac: 0 Windows: 5Feb 13 Linux: 0 Mac: 1 Windows: 1Feb 12 Linux: 1 Mac: 2 Windows: 1

Readme

Source
raw.​githubusercontent.​com

LSP-jdtls

This is a helper package that manages and downloads the Eclipse JDT language server for you.

To use this package, you must have:

  • The LSP package.
  • A Java SDK (>= 17).
  • It's recommended to have JAVA_HOME defined in your environment variables. Otherwise, specify java.home in the plugin settings.

Configuration

Configure jdtls by running Preferences: LSP-jdtls Settings from the command palette.

Capabilities

jdtls can do a lot of cool things, like

  • code completion
  • signature help
  • hover info
  • code actions
  • formatting
  • find references
  • goto def

Commands

Sublime Command Description Command Palette Note
lsp_jdtls_build_workspace Builds the project LSP-jdtls: Build Workspace
lsp_jdtls_refresh_workspace Refreshes all files LSP-jdtls: Refresh Workspace
lsp_jdtls_generate_tests Generate a test method in the associated test class LSP-jdtls: Generate tests…
lsp_jdtls_goto_test Jump to test and implementation LSP-jdtls: Goto Test / LSP-jdtls: Goto Implementation
lsp_jdtls_run_test_class Runs the test class in the active view LSP-jdtls: Run Test Class (experimental) Requires Debugger
lsp_jdtls_run_test_at_cursor Runs the test at the first cursor LSP-jdtls: Run Test At Cursor (experimental) Requires Debugger
lsp_jdtls_run_test Opens a panel to run a test in the active view LSP-jdtls: Run Test… (experimental) Requires Debugger
jdtls_clear_data Clears the server data directory LSP-jdtls: Clear data

Troubleshoot

Server exits with code 13

The server caches workspace specific information. When this data is corrupted the server crashes with exit code 13 and the server is disabled for the current project.

Run the command LSP-jdtls: Clear data from the command palette and re-enable the server using the command LSP: Enable Language Server in Project.

Licenses