-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Closed
Labels
debtCode quality issuesCode quality issuesfile-ioFile I/OFile I/Ohelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitieslinuxIssues with VS Code on LinuxIssues with VS Code on Linux
Milestone
Description
- Linux
- Trigger rename a file in the explorer
- Click anywhere else while the rename box is shown. Notice error in the console
Unable to move/copy when source path is equal or parent of target path: Error: Unable to move/copy when source path is equal or parent of target path
The issue is that the explorer calls textFileService.move(stat.resource, targetResource)
where both resources are the same.
The fileService treats this as a no-op on OS X and Win. But throws on linux.
@bpasero What is the proper behavior, that it is always a no-op, or you always throw so I put a check in the action.
fyi @joaomoreno
Metadata
Metadata
Assignees
Labels
debtCode quality issuesCode quality issuesfile-ioFile I/OFile I/Ohelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitieslinuxIssues with VS Code on LinuxIssues with VS Code on Linux