This lets you develop using ROS Melodic in a VSCode dev container. Requires Docker installed, and the VSCode Remote-Container plugin.
Use the command Remote-Containers: Open folder in container command.
Template to create a vscode dev container environment for ROS melodic
Dockerfile