How to enable intellisense for a custom master page (.master) in Visual Studio Code

In Visual Studio, IntelliSense works. But in Visual Studio Code, intellisense for .master files does not work.

VSCode
enter the description of the image here
Visual Studio 2015
enter the description of the image here