Is there any way to manage/debug/compile Java projects in Visual Studio 2010?
Before you answer, please read this topic.
We have good news for you – With the support of platform-specific extensions from Visual Studio Code, we have now embedded a JRE into our Java extensions, which means you no longer need to worry about configuring a JDK to run the extensions and only need to configure the JDK for your project.
If we need to open an existing project, Visual Studio Code will show a small popup at the bottom-right corner to import the folder as a Java project. If we missed it, we can open any Java source file to show it again.
Try to update Language Support for Java to the latest, and then try step 3 to rebuild the workspace. If it doesn't work, then try to install an older JDK version, set its installation folder to "java. home" user setting in . vscode/settings.
Open your Java code file in Text Editor, then use shortcut Ctrl+Alt+N , or press F1 and then select/type Run Code , or right click the Text Editor and then click Run Code in context menu, the code will be compiled and run, and the output will be shown in the Output Window.
I'm a little late to the party, but it looks like someone has started adding support. From the description, right now it only does syntax highlighting and basic navigation within a single file. However, in the Q&A section the author mentions plans to add compilation and debugging support later in the year.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With