microsoft / microsoft/vscode-extension-samples

tree-view-sample file update watch() can't listen to the file properly

Open
#865 5 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.