microsoft / microsoft/vscode-edge-devtools

Remember Last Selected Device Emulator Across Sessions

Open
#2,026 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Is your feature request related to a problem? Please describe.
Yes, currently, every time I open a new webview window in vscode-edge-devtools, I have to manually switch to the device emulator I want to use. This process is cumbersome and interrupts the development workflow.

Describe the solution you'd like
I would like vscode-edge-devtools to remember the last selected device emulator (emulatedDevices) across sessions, similar to how Chrome DevTools operates. This feature would significantly enhance the user experience by eliminating the need to repeatedly select the desired emulator for each new webview window.

Describe alternatives you've considered
N/A

Additional context
This enhancement would streamline the development process, especially for developers who frequently test their web applications across different device emulators. Remembering the last selected emulator would reduce repetitive tasks and improve efficiency.

If deemed necessary, I am willing to contribute by submitting a PR to implement this improvement.

AB#49074473

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 where the emulatedDevices selection is handled in vscode-edge-devtools and how settings or state are persisted across webview sessions. Confirm the current selection path, then verify that opening a new webview restores the previously selected emulator without requiring manual switching.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.