I am just exploring a way in order to open the default browser from Visual Studio Code API used for developing extensions.
Following is my code :
var disposable = vscode.commands.registerCommand('extension.browser', () => {
// The code you place here will be executed every time your command is executed
vscode.Uri.call("http://facebook.com");
});
How to open Browser URL from API using vscode class.