22 ms·
Using VS Code to Debug Java Applications
- zghst 9y agoThere goes VS Code, once again taking the world by storm. One of Microsoft's most successful open source products of the decade
- anotherproj 9y agocant tell if serious or
- SippinLean 9y agoWhat metric are we going by? If simply the number of "stars" VSCode easily beats out their other OSS, including Typescript and .NET https://opensource.microsoft.com/?sort=Stars&tag= https://opensource.microsoft.com/?sort=Stars&tag=
- curiousDog 9y agoNice! Is Scala supported too?
- jug 9y agoOr Kotlin? It sounded like this would be ”no” but ultimately it employs Eclipse JDT with this information: ”JDT Debug implements Java debugging support and works with any JDPA-compliant target Java VM. It is implemented on top of the language independent "debug model" provided by the platform debugger.” ... so I’m not sure anymore. Maybe someone with more experience can comment.
- hocuspocus 9y agohttp://ensime.org/editors/vscode/ http://ensime.org/editors/vscode/ Also Dotty comes with built-in Language Server Protocol support.
- slaymaker1907 9y agoNot sure if it is possible to do this, but one of the killer features for a Java IDE is automatically determining imports. Has anyone been able to get something like this working for Java on VS Code?
- denisw 9y agoUnfortunately, the VS Code Java plugin doesn't have support for this yet. Here is the corresponding GitHub issue, which however hasn't seen much activity: https://github.com/redhat-developer/vscode-java/issues/56 https://github.com/redhat-developer/vscode-java/issues/56
- nitinreddy88 9y agoVS Code is set to rule the developer world. The core and extension model is designed beautifully. While the core editor is concentrated at performance, the extensions provide feature rich functionality for each developer needs.
- solomatov 9y agoWhat I don't like about plugin system is security. You install extensions from the internet which have full access to your computer including the source code you're working with. Personally, I wouldn't trust any extension or plugin not provided by a major company.
- kbumsik 9y agoThat point is where VS Code is strong. These extensions are made by the VS Code team itself. Apart from that, AFAIK these plugins are not installed as binary but source code. They have transparency at least.
- solomatov 9y ago>Apart from that, AFAIK these plugins are not installed as binary but source code. They have transparency at least. You can say the same about browser extensions. They have the same distribution mechanism as VS code plugins, and still there's a good number of them doing shady stuff.
- jamesgeck0 9y ago> You install extensions from the internet which have full access to your computer This is an issue in almost every other editor that has plugins! Vim, Emacs, Sublime Text, etc have widely used automatic plugin installation tools. You can manually download and install plugins if you're worried about a 3rd party issuing malicious automatic updates.
- copperx 9y agoIs this sarcasm? "rule the developer world" when Emacs/Vim still exist and are much more portable and battle tested?
- tootie 9y agoI'm moderately impressed, but I wonder why they would bother. I use VS Code as a powerful text editor and occasionally as a sorta JavaScript IDE. Java and .NET have fantastic IDEs already that are extremely hard to beat.
- vthallam 9y agoThat's what I thought. Eclipse for Java is still a really really good IDE which does everything. I think this is targeted towards the full stack engineers who occasionally move between IDE's.
- PeterStuer 9y agoInteresting. As a long time Visual Studio user, the clumsiness of Eclipse when forced on some projects was one of the things kept me backing away from a return to Java (back in my Java days, we used JBuilder).
- AlphaSite 9y agoIntelliJ is a much more polished experience.
- PeterStuer 9y agoI agree, but multi-team projects using Eclipse extensions made Eclipse mandatory :(.
- paulddraper 9y agoIntelliJ is world class. Expensive, and world class.
- paulddraper 9y agoBut what if you use JS and Java? Your choices are (1) pay for IntelliJ Ultimate (several hundred) or (2) switch between IDEs or (3) abandon the IDE idea for both languages.
- deleted 9y ago[deleted]