VS Code from Microsoft JDConf

The FIRST FRC robotics team I mentor uses VS Code. So I’m always comparing it to Eclipse. This meant that Loiane’s talk today on using it was useful. It was good to see how a professional developer is using VSCode. And how to set it up properly. It was also nice seeing it for stuff I use outside the FIRST robotics ecosystem (Spring, Tomcat, etc)

My notes from Loiane Groner’s talk – @Loiane

Install Visual Studio Code for Java – comes with JDK and extensions wan

tIf already have (or get from FIRST robotics and are using that package), Loiane uses these extensions:

  • Java + Spring Extensions Back (by Microsoft)
  • Spring Boot extension back
  • Tomcat (or Jetty)
  • SonarLint
  • XML
  • Lombok
  • Checkstyle
  • Docker

Other notes

  • Can edit the JSON settings to point to multiple Java runtime for different versions.
  • One is default.Java overview page – show each time, not just went new. This will show each time open a Java project and get major shortcuts/docs
  • Demo of command pallet
  • Views on left side – ex Java projects (shows all classes), Tomcat
  • Remember to right click for menus
  • Can open pom.xml, right click and add dependencies
  • May be slow on load because analyzing project