4 ms·
Run and Debug Java 9 in Visual Studio Code
- kleff 9y agoAnyone 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.
- Scarbutt 9y agoVSC is going to become a real threat to Intellij IDEs. At least for JS/TS, they must have felt the impact.
- mulrian 9y agoYeah, it's really not though.
- standupstandup 9y agoWhich killer feature of VSC does IntelliJ lack?
- akmittal 9y agoBeing a text editor it is less bloated/faster. Feature wise I dont think VSC cant beat IntelliJ.
- kryptiskt 9y agoNot locking most of the UI and saying it's "indexing..." every time something changes.
- joshka 9y agoDoes VSC have refactoring?
- hexiaokai 9y agoMicrosoft 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.
- StevePerkins 9y agoWebStorm, 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).
- sheldor 9y agoIt might have a shot in making Java fast /sarcasm