microsoft / microsoft/vscode-livepreview

Support vscode files.associations setting

Open
#789 0 comments 0 reactions 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

Live preview is only enabled for files with the .html (or .htm) extension.
Enabling live preview for file types associated as html would be helpful.
e.g.,
"files.associations": {
"*.phtml": "html"
}

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 by locating the live-preview logic that currently recognizes .html and .htm files, then inspect how VS Code files.associations settings are exposed. Support files associated with the html language, including the shown *.phtml example, and verify that those files can launch live preview.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools, web-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.