Skip to content

Paste should use ITextFileService instead of IFileService #72543

@isidorn

Description

@isidorn

From Ben:
can you try to come up with a test case that reproduces this issue? I have many tests for move() already here. Should be easy enough to add one with Promise.join().

Yes, you should use ITextFileService.move() because that is the only one that takes care of dirty models (e.g. it ensures to preserve dirty state and contents).

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugdebtCode quality issuesfile-explorerExplorer widget issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions