Skip to content

Should vscode.workspace.fs.stat API return all content providered by User-defined FileSystem provider #170539

@yiliang114

Description

@yiliang114

I use vscode.FileSystemProvider interface when I develop a VS Code Extension. I have implemented the stat function, which inherits vscode.FileStat and contains some additional attributes. But when I used vscode.workspace.fs.stat to try to get the extra properties I injected, I found that I didn't get them.

Should vscode.workspace.fs.stat API return all content providered by User-defined FileSystem provider Instead of returning only the following attributes?

image

extHostFileSystemConsumer Stat

Metadata

Metadata

Assignees

Labels

*as-designedDescribed behavior is as designed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions