HTML Preview
VSCode extension to preview HTML files and open them in your local browser.
Works over Remote-SSH.
Features
- Side panel preview — live HTML preview that auto-refreshes on save
- Open in browser — serves files via a local HTTP server so it works over SSH
- Right-click support — context menu in both editor and file explorer
Usage
| Action |
Keybinding |
Context Menu |
| Show Preview |
Ctrl+Shift+V |
Right-click → HTML Preview: Show Preview |
| Open in Browser |
Ctrl+Shift+B |
Right-click → HTML Preview: Open in Browser |
Install from source
npm install
npx vsce package --allow-missing-repository
code --install-extension html-preview-0.0.1.vsix
| |