Commit Graph
15 Commits
Author SHA1 Message Date
Benjamin Pasero 8e66829775 text files - go through working copy service when creating 2020-06-26 09:26:10 +02:00
Pascal Fong KyeandBenjamin Pasero e3033faeee File operation events support multiple resources (#98988)
* refactor: use array of resources

* refactor: use an array of uricomponentspair

* feat: move many resources

* refactor: rename data to files

* feat: use array of files for copy

* refactor: use move with multiple resources

* refactor: use move method with array of files

* refactor: rename data to files

* feat: moveOrCopy array of resources on paste

* refactor: use concise loop syntax

* test: assert number of events

* refactor: rename uricomponentspair

* support multiple files on WorkingCopyFileEvent

* feat: support multiple resources
onWillRunWorkingCopyFIleOperation onDidRunWorkingCopyFileOperation

* refactor: make source optional for consistency

* refactor: support resources for delete

* test: isolate tests

* fix: iterate over resources

* feat: support operations on delete

* feat: adopt deleting multiple resources

* fix: typing and sequential flow of copyservice

* fix: typing and naming

* fix: typing and naming

* fix: use different message for multiple overwrites

* refactor: naming consistency

* fix: use array resources

* fix: message for multiple overwrites

* fix format

* clean up working copy file service

* refactor multiple overwrites message helper

* use openeditors to bulk open

* split drop copy and move

* add returns

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-06-24 10:32:55 +02:00
Benjamin Pasero 54faf8ea41 debt - remove unused services 2020-05-26 10:07:50 +02:00
Benjamin Pasero 5d64dcc0a6 working copy - introduce and adopt a way to participate in file operations 2020-02-20 09:27:45 +01:00
Benjamin Pasero 954d03fd6e files - rename events to follow conventions 2020-02-18 10:27:01 +01:00
Benjamin Pasero b6e4587e3a working copy - expose file IO operations for participation (#84672) 2020-02-18 10:12:43 +01:00
Johannes Rieken eff2320473 check timeout on extension host, blame extension when exceeded, #43768 2019-11-19 12:36:42 +01:00
Johannes Rieken 094fd80e20 adding configurable timeout, #43768 2019-11-19 11:37:36 +01:00
Johannes Rieken ca98871316 show progress message 2019-11-04 11:10:06 +01:00
Johannes Rieken de1b1fb71e remove warning 2019-11-04 10:52:26 +01:00
Johannes Rieken 45c755098e timeout before operations after 5sec 2019-11-04 10:52:03 +01:00
Johannes Rieken 9f6518c533 move events back to textfile service 2019-11-01 16:07:50 +01:00
Johannes Rieken 31160103a3 migrate proposed API onto new events 2019-11-01 12:05:32 +01:00
Benjamin Pasero 9eec0c53b0 files2 - properly type the file operation event 2019-03-29 15:13:21 +01:00
Johannes Rieken 63f2d31d3f move mainThread[A-F], #70319 2019-03-19 17:22:55 +01:00