Visual Studio code was designed for direct integration with Git, so there are currently no resources for Visual Studio code that add Mercurial integration, but many people have already expressed interest in the idea in Visual Studio Code UserVoice.
If you really want this, you can always create a simple plug-in for Visual Studio Code that will add a couple of commands to the editor, which can then be used to help you manage the Mercurial CLI.
source share