Skip to content

Send vscode.workspace.onDidCreateFiles events for folders #109088

@dbaeumer

Description

@dbaeumer

It does fire for folder on move and delete. According to @bpasero the reason lies here:

const created = isFolder ? await fileService.createFolder(resources.joinPath(folder.resource, value)) : await textFileService.create(resources.joinPath(folder.resource, value));

The code goes directly to the file service.

Since we correctly report move and delete for folders I think we should report create as well.

Metadata

Metadata

Assignees

Labels

apifeature-requestRequest for new features or functionalityfile-ioFile I/Oinsiders-releasedPatch has been released in VS Code Insidersverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions