// add following code in settings.json file "[javascript]": { "editor.autoClosingBrackets": "always" }