Visual Studio Code for
Java and Spring Devs
Bruno Borges
@brunoborges
Microsoft
Martin Lippert
@martinlippert
Pivotal
Editors
TextPad
Windows-only
https://www.textpad.com/
Sublime Text
Windows, Mac, Linux
https://sublimetext.com/
jEdit
Java-based, multi-platform
http://www.jedit.org/
Atom Editor
Windows, Mac, Linux
https://atom.io/
Why Visual Studio Code?
Text
Editors
IDEs
• Keyboard centric
• Lightweight/fast
• File/folders
• Polyglot
• Project systems
• Integrated build
• Code understanding
• Debug
• Templates/wizards
• Designers
• ALM integration
• Keyboard centric
• Lightweight/fast
• File/folders
• Polyglot
• Code understanding
• Debug
Comprehensive support built by Microsoft, Red
Hat, Pivotal and open source community
• Lightweight and Fast
• Community driven with vibrant
extension portfolio
• Cross Platform and Cross-
Language
• Smart and Collaborative
• Cloud Native
18,000,000+
Spring Initializr on VS Code
IntelliCode
AI-assisted development
Recommends code
completion
Machine Learning
Learns from GitHub
projects
Java support
Generally Available
Want to get
started?
• Get Visual Studio Code from
https://code.visualstudio.com
• Java Extension Pack (from the marketplace)
• Java Language Support
• https://github.com/redhat-developer/vscode-java
• Java Debugger
• https://github.com/Microsoft/vscode-java-debug
• Maven
• https://github.com/Microsoft/vscode-maven
• Test Runner for JUnit and TestNG
• https://github.com/Microsoft/vscode-java-test
• Spring Boot Extension Pack (from the marketplace)
• Spring Boot Support
• Spring Boot Initializr Support
• Spring Boot Dashboard
Demos
# Bruno
Create/Run/Debug Java Plain Code
Unit Testing on VS Code
Maven Extension
# Martin
Create/Run/Debug Spring App on VS Code
Show Live Info from Spring Apps
Container Development
Docker
Containerization – Add Dockerfile to your
project
Images – Build, Run & Manage Images
Kubernetes
Orchestration - Authoring K8S Manifest Files
Deployment - Apply Manifest Files to K8S
Clusters
Maintenance - Explore K8S Cluster Resources
Troubleshooting - Inspect K8S Resources
Dev Space
Rapid, iterative Kubernetes development
experience
Rapidly iterate and debug
containers in Kubernetes
Collaborate in a shared cluster
Test code end-to-end without
simulating dependencies
http://frontend.bdc5.aksapp.io
http://susie.s.frontend.bdc5.aksapp.io
Susie Walter
Demo Spring Boot on K8S w/ Azure Dev Spaces (AKS)
Spring on Azure aka.ms/spring-on-azure
VS Code for Java aka.ms/code-for-java
K8S Dev Spaces aka.ms/dev-spaces-java
Azul OpenJDK on Azure aka.ms/azul-jdk-azure
Microsoft Learn microsoft.com/learn
(Microsoft + Java) ^ Spring
@ashleymcnamara
Thank you!
@ashleymcnamara

Visual Studio Code for Java and Spring Developers

  • 1.
    Visual Studio Codefor Java and Spring Devs Bruno Borges @brunoborges Microsoft Martin Lippert @martinlippert Pivotal
  • 2.
  • 3.
  • 4.
    Sublime Text Windows, Mac,Linux https://sublimetext.com/
  • 5.
  • 6.
    Atom Editor Windows, Mac,Linux https://atom.io/
  • 7.
    Why Visual StudioCode? Text Editors IDEs • Keyboard centric • Lightweight/fast • File/folders • Polyglot • Project systems • Integrated build • Code understanding • Debug • Templates/wizards • Designers • ALM integration • Keyboard centric • Lightweight/fast • File/folders • Polyglot • Code understanding • Debug
  • 8.
    Comprehensive support builtby Microsoft, Red Hat, Pivotal and open source community • Lightweight and Fast • Community driven with vibrant extension portfolio • Cross Platform and Cross- Language • Smart and Collaborative • Cloud Native 18,000,000+
  • 9.
  • 10.
    IntelliCode AI-assisted development Recommends code completion MachineLearning Learns from GitHub projects Java support Generally Available
  • 11.
    Want to get started? •Get Visual Studio Code from https://code.visualstudio.com • Java Extension Pack (from the marketplace) • Java Language Support • https://github.com/redhat-developer/vscode-java • Java Debugger • https://github.com/Microsoft/vscode-java-debug • Maven • https://github.com/Microsoft/vscode-maven • Test Runner for JUnit and TestNG • https://github.com/Microsoft/vscode-java-test • Spring Boot Extension Pack (from the marketplace) • Spring Boot Support • Spring Boot Initializr Support • Spring Boot Dashboard
  • 12.
    Demos # Bruno Create/Run/Debug JavaPlain Code Unit Testing on VS Code Maven Extension # Martin Create/Run/Debug Spring App on VS Code Show Live Info from Spring Apps
  • 13.
    Container Development Docker Containerization –Add Dockerfile to your project Images – Build, Run & Manage Images Kubernetes Orchestration - Authoring K8S Manifest Files Deployment - Apply Manifest Files to K8S Clusters Maintenance - Explore K8S Cluster Resources Troubleshooting - Inspect K8S Resources Dev Space Rapid, iterative Kubernetes development experience
  • 14.
    Rapidly iterate anddebug containers in Kubernetes Collaborate in a shared cluster Test code end-to-end without simulating dependencies http://frontend.bdc5.aksapp.io http://susie.s.frontend.bdc5.aksapp.io Susie Walter
  • 15.
    Demo Spring Booton K8S w/ Azure Dev Spaces (AKS)
  • 16.
    Spring on Azureaka.ms/spring-on-azure VS Code for Java aka.ms/code-for-java K8S Dev Spaces aka.ms/dev-spaces-java Azul OpenJDK on Azure aka.ms/azul-jdk-azure Microsoft Learn microsoft.com/learn (Microsoft + Java) ^ Spring @ashleymcnamara
  • 17.

Editor's Notes