The newest Docker VS Code extension feature you’re not using
Published Nov 16 2021 08:20 AM 12.6K Views
Microsoft

As Docker usage has grown, Docker Compose has become the leader in running multi-service applications locally. Unfortunately, as your application expands and more services must communicate, we’ve found authoring these Compose files can become arduous, time consuming, and mistake prone. We want to make writing Compose files with volumes, ports, and multiple services much easier. 

 

Today, we’d like to announce the Docker Compose Language Service in the Docker Extension for VS Code. That’s right, the Docker Extension will now provide Docker Compose files with IntelliSense, Tooltips, and syntax validation. Here are a few of the incoming features in our 1.18 release: 

 

  • IntelliSense tab completions (i.e. volumes, ports)

Tab Completions.gif

 

  • Tooltips for Compose keywords (i.e. services, image) 

hover-support.png

  • Right-click to format a Compose file (Shift + Alt + F) 
  • YAML Syntax Validation 
  • Hyperlinks for Docker Images 

In our 1.18 release, this feature will be on by default, so we hope you enjoy it!

 

There are more improvements to come! Stay tuned for these features:

  • More tab completions
  • Docker Compose schema validation 
  • … and much more! 

We love your feedback! If you have any comments or ideas on our Compose language support, feel free to submit an issue to the Compose Language Service Repo or the VS Code Docker Repo for general feedback. 

Co-Authors
Version history
Last update:
‎Nov 16 2021 01:35 PM
Updated by: