Visual-studio code Remote SSH: How to open an html file inside the VSCode/ local browser?

Viewed 528

I am using vscode Remote SSH extension to connect to a remote machine for Developement. Everything works perfectly fine, but I also need to open html files located in the remote machine locally. How can I do that seamlessly? Is there any extensions available to do this?

1 Answers

I use the extension Live Preview by Microsoft. After openeing the html file, you can preview its contents in a small window by clicking the Icon in the top right of the openened file 2, or by pressing CTRL+SHIFT+P -> Live Preview Show Preview (Internal Browser)

2 Icon

Related