microsoft / microsoft/vscode-edge-devtools

CSS Mirroring doesn't work properly with auto save enabled

Open
#543 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug tracked
Dominant language
TypeScript
Stars
827
Forks
358
Avg merge
20h 32m
Merged PRs (30d)
10

Description

Environment (please complete the following information):

  • OS: Windows 10, Version 21H1
  • Extension version: v1.3.1

Describe the bug:
When auto-save is enabled in VSCode CSS Mirroring only accepts the first change of a CSS style. The user can't change the same style again without saving the CSS file first.

Repro steps:

  1. Enable auto-save in VSCode
  2. Change any CSS style in a document
  3. Change the same CSS style a second time to something different

Expected behavior:
The style should change to the new input and get mirrored to the stylesheet. Instead, the style stays the same. The user has to save the stylesheet once in order to make any further changes. Adding new properties still works.

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

Reproduce the issue in VSCode with auto-save enabled by changing the same CSS style twice, then inspect the CSS Mirroring handling in the extension. Done means repeated edits to an existing style are mirrored without manually saving the stylesheet, while adding new properties continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.