Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remember Last Selected Device Emulator Across Sessions #2026

Open
flyyuan opened this issue Feb 17, 2024 · 2 comments
Open

Remember Last Selected Device Emulator Across Sessions #2026

flyyuan opened this issue Feb 17, 2024 · 2 comments
Labels
enhancement New feature or request tracked

Comments

@flyyuan
Copy link

flyyuan commented Feb 17, 2024

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

@flyyuan
Copy link
Author

flyyuan commented Feb 17, 2024

@vidorteg Plan to store the last emulator selection in context.globalState and retrieve it to set as the default for new screen webviews upon launch.

@captainbrosset captainbrosset added the enhancement New feature or request label Feb 20, 2024
@captainbrosset
Copy link
Collaborator

Seems like a useful feature request. Marking as such.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tracked
Projects
None yet
Development

No branches or pull requests

2 participants