File operation events support multiple resources#98988
File operation events support multiple resources#98988bpasero merged 34 commits intomicrosoft:masterfrom
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
bpasero
left a comment
There was a problem hiding this comment.
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.