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

[Bug] Duplicating program should open the new program #1084

Closed
laurensvalk opened this issue May 26, 2023 · 0 comments · Fixed by pybricks/pybricks-code#1779
Closed

[Bug] Duplicating program should open the new program #1084

laurensvalk opened this issue May 26, 2023 · 0 comments · Fixed by pybricks/pybricks-code#1779
Assignees
Labels
bug Something isn't working software: pybricks-code Issues with https://code.pybricks.com application

Comments

@laurensvalk
Copy link
Member

Describe the bug
I often duplicate a program to continue on a new path while preserving the original. (Are there other reasons to copy a file?)

Then I start writing and after a few minutes I realize I overwrote code in the original file.

Expected behavior
Focus on the new file. I started looking around a bit, and this seems to be the most default pattern in most place.

Opening the copy is the default in Visual Studio code, but also everywhere in file browsers (creates a file_copy.txt with focus).

@laurensvalk laurensvalk added bug Something isn't working software: pybricks-code Issues with https://code.pybricks.com application labels May 26, 2023
@dlech dlech self-assigned this May 26, 2023
dlech added a commit to pybricks/pybricks-code that referenced this issue May 26, 2023
When duplicating a file users expect the file to be opened as in other
applications.

Fixes: pybricks/support#1084
dlech added a commit to pybricks/pybricks-code that referenced this issue May 26, 2023
When duplicating a file users expect the file to be opened as in other
applications.

Fixes: pybricks/support#1084
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working software: pybricks-code Issues with https://code.pybricks.com application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants