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

Duplicating file: Editor not opened for the new file even if it has focus in the explorer (confusing) #124565

Closed
thwoe opened this issue May 25, 2021 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s) file-explorer Explorer widget issues

Comments

@thwoe
Copy link

thwoe commented May 25, 2021

If I duplicate file (Ctrl+c/v) in file explorer, the new file will gain focus (highlighted) but the editor shows the original file, which is confusing because I think I edit the new file instead.

  • VS Code Version: 1.55.2
  • OS Version: Windows 10

Steps to Reproduce:

  1. Create file and add some content
  2. Duplicate (Ctrl+c/v)
  3. (Optional) Rename the duplicated file (F2)
  4. Edit the content of opened editor
  5. Click on new file in the explorer

Here is the video:
https://www.awesomescreenshot.com/video/3873645?key=61fc7b55a2436a0d2f24ec851b0222b0

@isidorn
Copy link
Contributor

isidorn commented May 25, 2021

Fixed in latest stable, please update

@isidorn isidorn closed this as completed May 25, 2021
@isidorn isidorn added *duplicate Issue identified as a duplicate of another issue(s) file-explorer Explorer widget issues labels May 25, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jul 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s) file-explorer Explorer widget issues
Projects
None yet
Development

No branches or pull requests

2 participants