Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  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.

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

4. Open the microdemo  folder in VSCode

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:

Code Block
languagejava
var running = application.isRunning();
Assertions.assertTrue(running);

Can your VSCode do that? If not, install the Apache NetBeans VSCode extension!