microsoft / microsoft/vscode-extension-samples
FTP connection failure on tree-view-sample
@alexr00 is already working on this.
Since Apr 29, 2024.
- Dominant language
- TypeScript
- Stars
- 10.2k
- Forks
- 3.9k
- PR merge metrics
- No merged PRs in 30d
Description
Extension sample
tree-view-sample
VS Code version
1.86.1
What went wrong?
Running the tree-view-sample displays the following error:
Error while connecting: Timeout while connecting to server.
The default ftp address embedded in the source code FtpModel('mirror.switch.ch', 'anonymous', 'anonymous@anonymous.de') does not seem to work.
I try to work on other TreeView classes DepNodeProvider, JsonOutlineProvider, but not all features are equally implemented -- FYI, I was trying to have a look into how getParent() works when treeView.reveal(node) is called.
We don't have lot of FTP servers in the wild nowadays, and hunting for a public ftp server just so that I can see how the API for the UI works seems like a wrong direction. It would be great if we can get a reliable FTP address just for the sample, but if it is too difficult, maybe we should think of another example to demonstrate the feature.
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.