Organize imports

feature/search
Kelvin Schoofs 6 years ago
parent 34cad156df
commit 860a59c99a

@ -1,7 +1,6 @@
import { readFile, writeFile } from 'fs'; import { readFile, writeFile } from 'fs';
import { parse as parseJsonc, ParseError } from 'jsonc-parser'; import { parse as parseJsonc, ParseError } from 'jsonc-parser';
import * as path from 'path';
import * as vscode from 'vscode'; import * as vscode from 'vscode';
import { ConfigLocation, FileSystemConfig, invalidConfigName } from './fileSystemConfig'; import { ConfigLocation, FileSystemConfig, invalidConfigName } from './fileSystemConfig';
import * as Logging from './logging'; import * as Logging from './logging';

@ -4,7 +4,6 @@ import { loadConfigs } from './config';
import { FileSystemConfig, invalidConfigName } from './fileSystemConfig'; import { FileSystemConfig, invalidConfigName } from './fileSystemConfig';
import * as Logging from './logging'; import * as Logging from './logging';
import { Manager } from './manager'; import { Manager } from './manager';
import * as settings from './settings';
function generateDetail(config: FileSystemConfig): string | undefined { function generateDetail(config: FileSystemConfig): string | undefined {
const { username, host, putty } = config; const { username, host, putty } = config;

@ -1,15 +1,12 @@
import { readFile } from 'fs'; import { Client, ClientChannel } from 'ssh2';
import { parse as parseJsonc, ParseError } from 'jsonc-parser';
import * as path from 'path';
import { Client, ClientChannel, ConnectConfig } from 'ssh2';
import * as vscode from 'vscode'; import * as vscode from 'vscode';
import { getConfig, getConfigs, loadConfigs, UPDATE_LISTENERS, updateConfig } from './config'; import { getConfig, getConfigs, loadConfigs, UPDATE_LISTENERS } from './config';
import { createSSH, getSFTP } from './connect'; import { createSSH, getSFTP } from './connect';
import { FileSystemConfig } from './fileSystemConfig'; import { FileSystemConfig } from './fileSystemConfig';
import * as Logging from './logging'; import * as Logging from './logging';
import * as settings from './settings'; import * as settings from './settings';
import SSHFileSystem, { EMPTY_FILE_SYSTEM } from './sshFileSystem'; import SSHFileSystem from './sshFileSystem';
import { MemoryDuplex } from './streams'; import { MemoryDuplex } from './streams';
import { catchingPromise, toPromise } from './toPromise'; import { catchingPromise, toPromise } from './toPromise';

Loading…
Cancel
Save