hy-language-server VS vscode-java

Compare hy-language-server vs vscode-java and see what are their differences.

hy-language-server

Hy Language Server built using Jedhy. works only under Hy1.0a1. For the recent version of Hy, please use https://github.com/sakuraiyuta/hyuga instead. (by rinx)

vscode-java

Java Language Support for Visual Studio Code (by redhat-developer)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
hy-language-server vscode-java
2 35
20 2,035
- 1.1%
1.8 9.0
almost 3 years ago 4 days ago
Hy TypeScript
MIT License Eclipse Public License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

hy-language-server

Posts with mentions or reviews of hy-language-server. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-05-06.

vscode-java

Posts with mentions or reviews of vscode-java. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-12.
  • How to automatically format Java code similar to Rust (rustfmt)?
    2 projects | /r/rust | 12 Apr 2023
    I've tried Google Java Format, following the settings here,
  • Plz Microsoft could you finally give YOUR OWN PLATFORM the care it deserves?
    2 projects | /r/ProgrammerHumor | 1 Jan 2023
    Good news :) https://github.com/redhat-developer/vscode-java/wiki/Formatter-settings
  • Help setting up jdtls for java
    6 projects | /r/neovim | 2 Oct 2022
    -- 💀 "/usr/lib/jvm/java-11-openjdk/", -- or '/path/to/java11_or_newer/bin/java' -- depends on if `java` is in your $PATH env variable and if it points to the right version. "-Declipse.application=org.eclipse.jdt.ls.core.id1", "-Dosgi.bundles.defaultStartLevel=4", "-Declipse.product=org.eclipse.jdt.ls.core.product", "-Dlog.protocol=true", "-Dlog.level=ALL", "-javaagent:" .. home .. "/.local/share/nvim/mason/packages/jdtls/lombok.jar", "-Xms1g", "--add-modules=ALL-SYSTEM", "--add-opens", "java.base/java.util=ALL-UNNAMED", "--add-opens", "java.base/java.lang=ALL-UNNAMED", -- 💀 "-jar", vim.fn.glob( home .. "/.local/share/nvim/mason/packages/jdtls/plugins/org.eclipse.equinox.launcher_1.6.400.v20210924-0641.jar" ), -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ -- Must point to the Change this to -- eclipse.jdt.ls installation the actual version -- 💀 "-configuration", home .. "/.local/share/nvim/mason/packages/jdtls/config_" .. CONFIG, -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^ -- Must point to the Change to one of `linux`, `win` or `mac` -- eclipse.jdt.ls installation Depending on your system. -- 💀 -- See `data directory configuration` section in the README "-data", workspace_dir, }, on_attach = { require("jdtls").setup_dap({ hotcodereplace = "auto" }), require("jdtls.dap").setup_dap_main_class_configs(), }, capabilities = capabilities, -- 💀 -- This is the default if not provided, you can remove it. Or adjust as needed. -- One dedicated LSP server & client will be started per unique root_dir root_dir = root_dir, -- Here you can configure eclipse.jdt.ls specific settings -- See https://github.com/eclipse/eclipse.jdt.ls/wiki/Running-the-JAVA-LS-server-from-the-command-line#initialize-request -- or https://github.com/redhat-developer/vscode-java#supported-vs-code-settings -- for a list of options settings = { java = { eclipse = { downloadSources = true, }, configuration = { updateBuildConfiguration = "interactive", }, maven = { downloadSources = true, }, implementationsCodeLens = { enabled = true, }, referencesCodeLens = { enabled = true, }, references = { includeDecompiledSources = true, }, inlayHints = { parameterNames = { enabled = "all", -- literals, all, none }, }, format = { enabled = false, }, }, signatureHelp = { enabled = true }, completion = { favoriteStaticMembers = { "org.hamcrest.MatcherAssert.assertThat", "org.hamcrest.Matchers.*", "org.hamcrest.CoreMatchers.*", "org.junit.jupiter.api.Assertions.*", "java.util.Objects.requireNonNull", "java.util.Objects.requireNonNullElse", "org.mockito.Mockito.*", }, }, contentProvider = { preferred = "fernflower" }, extendedClientCapabilities = extendedClientCapabilities, sources = { organizeImports = { starThreshold = 9999, staticStarThreshold = 9999, }, }, codeGeneration = { toString = { template = "${object.className}{${member.name()}=${member.value}, ${otherMembers}}", }, useBlocks = true, }, }, flags = { allow_incremental_sync = true, }, -- Language server `initializationOptions` -- You need to extend the `bundles` with paths to jar files -- if you want to use additional eclipse.jdt.ls plugins. -- -- See https://github.com/mfussenegger/nvim-jdtls#java-debug-installation -- -- If you don't plan on using the debugger or other eclipse.jdt.ls plugins you can remove this
  • VScode doesn't recognize maven project as a JAVA project. "Missing dependencies", but mvn install works. How do I fix so IntelliSense for JAVA works?
    2 projects | /r/vscode | 18 Feb 2022
    That's probably because you run maven with your system JDK, whereas the Java extension will run maven with it's embedded JRE. And if the embedded JRE doesn't have the correct certs configured, you'll obviously run into problems.
    2 projects | /r/vscode | 18 Feb 2022
    What does your setup look like, do you depend on some internal repo and/or use custom CA certs? See https://github.com/redhat-developer/vscode-java/wiki/Use-proper-cacerts-to-import-Java-projects
  • Auto-focus to terminal
    2 projects | /r/vscode | 12 Dec 2021
    Once I filed a feature request about auto-focus in terminal when using Java Extensions, see Make the cursor focus automatically switch to the terminal after clicking the run button.
  • [java] lsp-java variable lsp-java-format-settings-url not work
    2 projects | /r/spacemacs | 8 Nov 2021
    According to lsp-java, variable lsp-java-format-settings-url specifies the url or file path to the eclipse formatter xml settings. This file eclipse-java-google-style.xml works fine in vscode and eclipse. The expected behavior is line longer than 100 is splited to a new line. In spacemacs, split length is still the default 120.
  • Making auto format line up with IntelliJ formatting?
    2 projects | /r/vscode | 2 Nov 2021
    I assume you're talking about the Java formatter here. The Java extension uses Eclipse libraries, so the formatter is configured using Eclipse formatter preferences (a list of available formatter preferences can be found here).
  • [Java] Does anyone know if it's possible to tune jdtls's formatting?
    3 projects | /r/spacemacs | 27 Apr 2021
    lsp-java supports custom formatter - refer to vscode java guide - https://github.com/redhat-developer/vscode-java/wiki/Formatter-settings (we have corresponding defcustoms).
  • Java Is Criminally Underhyped
    8 projects | news.ycombinator.com | 15 Apr 2021
    Yeah right; after almost 2 years the standard formatter still occasionally deletes code. [1]

    [1]: https://github.com/redhat-developer/vscode-java/issues/1132

What are some alternatives?

When comparing hy-language-server and vscode-java you can also consider the following projects:

lsp-java - lsp-mode :heart: java

vscode-extension-samples - Sample code illustrating the VS Code extension API.

nvim-lspconfig - Quickstart configs for Nvim LSP

eclipse.jdt.ls - Java language server

hy - A dialect of Lisp that's embedded in Python

bash-language-server - A language server for Bash

vscode-yaml - YAML support for VS Code with built-in kubernetes syntax support

vscode-haskell - VS Code extension for Haskell, powered by haskell-language-server

styleguide - Style guides for Google-originated open-source projects

vscode-java-dependency - Manage Java projects in Visual Studio Code.

Maven Wrapper - The easiest way to integrate Maven into your project!

0bin - Client side encrypted pastebin