microsoft / microsoft/vscode-livepreview

Enable Auto-Preview on File Switch

Open
#695 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
596
Forks
119
Avg merge
1d 4m
Merged PRs (30d)
5

Description

Is there an option to update the html page being viewed automatically when a new html file is opened to focus?

Hopefully this makes sense,
Peter

Name: Live Preview
Id: ms-vscode.live-server
Description: Hosts a local server in your workspace for you to preview your webpages on.
Version: 0.4.15
Publisher: ms-vscode
VS Marketplace Link: https://open-vsx.org/vscode/item?itemName=ms-vscode.live-server

Enable Auto-Preview on File Switch:

Open Settings: Press Ctrl+, (Windows/Linux) or Cmd+, (Mac) to open the Settings panel.
Search for Live Preview: Auto Preview.
Enable the setting by checking the box. This will open and update the Live Preview window whenever you switch files.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Live Preview: Auto Preview setting described in the issue and inspect how file switching is handled. Test the behavior by opening one HTML file, switching to another, and confirming that the preview opens or updates automatically.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.