mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
#139 add comment for hardcoded login details
This commit is contained in:
@ -155,6 +155,7 @@ export class FtpExplorer {
|
||||
private ftpViewer: vscode.TreeView<FtpNode>;
|
||||
|
||||
constructor(context: vscode.ExtensionContext) {
|
||||
/* Please note that login information is hardcoded only for this example purpose and recommended not to do it in general. */
|
||||
const ftpModel = new FtpModel('mirror.switch.ch', 'anonymous', 'anonymous@anonymous.de');
|
||||
const treeDataProvider = new FtpTreeDataProvider(ftpModel);
|
||||
context.subscriptions.push(vscode.workspace.registerTextDocumentContentProvider('ftp', treeDataProvider));
|
||||
|
||||
Reference in New Issue
Block a user