How to view an HTML file in the browser with Visual Studio Code

For Windows – Open your Default Browser – Tested on VS Code v 1.1.0 Answer to both opening a specific file (name is hard-coded) OR opening ANY other file. Steps: Use ctrl + shift + p (or F1) to open the Command Palette. Type in Tasks: Configure Task or on older versions Configure Task Runner. Selecting it will open the tasks.json file. Delete the script displayed and … Read more

tech