-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
File operation events support multiple resources #98988
Conversation
Indeed, I'll make the necessary changes in working copy file service also. Added to the list above. Thanks for the feedback. |
One quick feedback that I noticed, I think it is fine to have just one method in the working copy file service that accepts an array instead of having a |
Yes. I was thinking the same thing. |
e99c695
to
4f5d4c4
Compare
|
@pfongkye I had a quick look and think you are on the right path. Once you think this PR is ready for review, I would add maybe also Isidor to review the changes for where this needs to be adopted (file explorer land). Yes, I think for consistency I would also do this for |
6f9d224
to
e0cd188
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I feel that maybe the file operations inside workingCopyFileService
should run in sequence and not in parallel to reduce the chance of overlapping file system operations? I think that would also make the code cleaner.
src/vs/workbench/services/workingCopy/common/workingCopyFileService.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/services/workingCopy/common/workingCopyFileService.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/services/workingCopy/common/workingCopyFileService.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/services/workingCopy/common/workingCopyFileService.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/services/workingCopy/common/workingCopyFileService.ts
Outdated
Show resolved
Hide resolved
src/vs/workbench/services/workingCopy/common/workingCopyFileService.ts
Outdated
Show resolved
Hide resolved
onWillRunWorkingCopyFIleOperation onDidRunWorkingCopyFileOperation
Thanks 👍 |
This PR fixes #98309
Hi @bpasero
I made some changes. Can you tell me if I'm on the right track?
If I am, I will continue with the following:
- [ ] adoption in bulkEditService?UriComponentsPair
?Let me know if there is anything missing on the above list.
Thanks.