3 ms·
Anyone using VS Code for Java projects here? How does it hold up compared to something like Eclipse or IntelliJ?
by kleff 9y ago
Anyone using VS Code for Java projects here? How does it hold up compared to something like Eclipse or IntelliJ?
- hdhzy 9y agoI've used it on Java 8 projects. The VS Code Java extension reads regular Eclipse projects (.project, .classpath) and offers intellisense like completions, red squiggles etc. But that's basically it. I think there is also support for Mavens poms. What's lacking is the general refactorings, generating boilerplate (hashCode, setters, getters). It's too little for real work but it's surprisingly good so I'll keep evaluating it from time to time.
- hexiaokai 9y agoMicrosoft employee here. Thank you for trying! Actually some basic features such as getters, setters, renaming are already supported for Java in VS Code with Red Hat's language server. We'd also like to learn which features are most important for Java developers, please provide feedbacks to us through https://gitter.im/Microsoft/vscode-java-debug https://gitter.im/Microsoft/vscode-java-debug or submit https://github.com/Microsoft/vscode-java-debug/issues https://github.com/Microsoft/vscode-java-debug/issues for whatever you believe is missing.
- hdhzy 9y ago> Actually some basic features such as getters, setters Do you mean generating getters and setters based on fields? Because I can't find this option (tried searching for "getter", "java", "generate", no luck) and I've got Red Hat LS installed (alongside the entire Microsoft's Java Extension Pack). Thanks for you hard work! Language Server Protocol is a hidden gem of VS Code, the most important feature in my opinion.