How to open HTML file in vscode like in browser?

后端 未结 1 665
感情败类
感情败类 2021-01-16 07:22

After the vscode or any extension update finished, a release note will show in vscode. I can find the releasenote in my computer, it is HTML file, I open it by vscode and vs

相关标签:
1条回答
  • 2021-01-16 07:55

    VS Code does not include built-in support for previewing html pages. This can be provided by an extension.

    If you are interested in implementing this yourself, take a look at the webview api

    However, as @herrbischoff noted, you should consider changing your workflow or expectations. A proper browser will offer a much better development experience and extensions like browser sync can connect VS Code to your browser of choice

    0 讨论(0)
提交回复
热议问题