Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Make sure to download JDK14 and export JAVA_HOME  as well as PATH  variables to VSCode:

Code Block
languagebash
$ export JAVA_HOME=/jdk-14
$ export PATH=$JAVA_HOME/bin:$PATH
$ code


Download the NetBeans extension and install it into VSCode via Install from VSIX...

Image Added

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

Image Added

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


Open the microdemo  folder in VSCode

Image Added

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

Image AddedTODO: this page should document the extension fo Java editing for Visual Studio Code provided by Apache NetBeans.