13 comments

[ 4.8 ms ] story [ 18.3 ms ] thread
Anyone using VS Code for Java projects here? How does it hold up compared to something like Eclipse or IntelliJ?
I'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.
Microsoft 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 or submit https://github.com/Microsoft/vscode-java-debug/issues for whatever you believe is missing.
> 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.

VSC is going to become a real threat to Intellij IDEs. At least for JS/TS, they must have felt the impact.
Yeah, it's really not though.
Which killer feature of VSC does IntelliJ lack?
Being a text editor it is less bloated/faster. Feature wise I dont think VSC cant beat IntelliJ.
Not locking most of the UI and saying it's "indexing..." every time something changes.
Does VSC have refactoring?
Microsoft employee here. Some basic refactoring feature is actually supported, such as rename. Of course there're a lot of other coding assistance and refactoring features could be added, we plan to further improve the Java experience, including editing, on VS Code in next months together with Red Hat and other community members.
WebStorm, maybe. But it won't be a real threat to IntelliJ until around the same time as it's a real threat to Visual Studio (full version).
It might have a shot in making Java fast /sarcasm