microsoft / microsoft/vscode-extension-samples
tree-view-sample file update watch() can't listen to the file properly
Open
@alexr00 is already working on this.
Since Jun 26, 2023.
bug
- Dominant language
- TypeScript
- Stars
- 10.2k
- Forks
- 3.9k
- PR merge metrics
- No merged PRs in 30d
Description
The FileSystemProvider class watch() function in the fileExplorer.ts file in the tree-view-sample cannot listen to the treeview properly, so the file tree cannot be updated after changes. In addition, the exists() file is deprecated and can be replaced with access(), and the fs module rm() and mkdir() can be used directly to create recursive creation files. mkdirp and rimraf packages have removed the interface from the example in high versions
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.