The newest Docker VS Code extension feature you’re not using

This post has been republished via RSS; it originally appeared at: New blog articles in Microsoft Tech Community.

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. 

REMEMBER: these articles are REPUBLISHED. Your best bet to get a reply is to follow the link at the top of the post to the ORIGINAL post! BUT you're more than welcome to start discussions here:

This site uses Akismet to reduce spam. Learn how your comment data is processed.