You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

  1. Download the Apache NetBeans Language Server extension and install it into VSCode via Install from VSIX...

2. Make sure to get some Maven project - for example Micronaut: https://micronaut.io/launch/

3. Don't forget to select Maven and Java. Generate the project, download it, extract it into local disk.

$ mkdir microdemo
$ cd microdemo/
microdemo$ unzip ~/Downloads/microdemo.zip 
microdemo$ JAVA_HOME=/jdk-14 mvn install

Scenarios

Scenario 1: Hello World with Micronaut

1. Open the microdemo  folder in VSCode

2. Wait for message "Indexing completed" and then you can enjoy editing, code completion and other NetBeans goodies

Plus your VSCode now supports all the latest and greatest JDK14 coding structure:

var running = application.isRunning();
Assertions.assertTrue(running);

Can your VSCode do that with the RedHat extension on JDK 8? If not, install the Apache NetBeans VSCode extension!

Scenario 2: Polyglot Debugging

Scenario 3: OpenJDK

  • No labels