diff --git a/src/vs/vscode.proposed.d.ts b/src/vs/vscode.proposed.d.ts index 07b1295b641..51f8b8f5e5d 100644 --- a/src/vs/vscode.proposed.d.ts +++ b/src/vs/vscode.proposed.d.ts @@ -98,6 +98,7 @@ declare module 'vscode' { // todo@joh discover files etc // todo@joh CancellationToken everywhere + // todo@joh add open/close calls? export interface FileSystemProvider { readonly onDidChange?: Event; @@ -144,8 +145,8 @@ declare module 'vscode' { // create(resource: Uri): Thenable; // find files by names + // todo@joh, move into its own provider findFiles?(query: string, progress: Progress, token: CancellationToken): Thenable; - provideTextSearchResults?(query: TextSearchQuery, include: GlobPattern, exclude: GlobPattern, progress: Progress, token: CancellationToken): Thenable; } diff --git a/src/vs/workbench/api/node/extHost.api.impl.ts b/src/vs/workbench/api/node/extHost.api.impl.ts index bd4337b59a1..a1d13f701f7 100644 --- a/src/vs/workbench/api/node/extHost.api.impl.ts +++ b/src/vs/workbench/api/node/extHost.api.impl.ts @@ -616,7 +616,7 @@ export function createApiFactory( ConfigurationTarget: extHostTypes.ConfigurationTarget, RelativePattern: extHostTypes.RelativePattern, - // TODO@JOH,remote + // todo@remote FileChangeType: FileChangeType, FileType: FileType }; diff --git a/src/vs/workbench/services/textfile/common/textFileEditorModel.ts b/src/vs/workbench/services/textfile/common/textFileEditorModel.ts index e25597ad24e..fc18f6c5656 100644 --- a/src/vs/workbench/services/textfile/common/textFileEditorModel.ts +++ b/src/vs/workbench/services/textfile/common/textFileEditorModel.ts @@ -85,10 +85,6 @@ export class TextFileEditorModel extends BaseTextEditorModel implements ITextFil @IHashService private hashService: IHashService ) { super(modelService, modeService); - - // TODO@remote - // assert.ok(resource.scheme === 'file', 'TextFileEditorModel can only handle file:// resources.'); - this.resource = resource; this.toDispose = []; this._onDidContentChange = new Emitter(); diff --git a/src/vs/workbench/services/textfile/common/textFileService.ts b/src/vs/workbench/services/textfile/common/textFileService.ts index 96e31476b70..6e5bf84bf4a 100644 --- a/src/vs/workbench/services/textfile/common/textFileService.ts +++ b/src/vs/workbench/services/textfile/common/textFileService.ts @@ -413,10 +413,6 @@ export abstract class TextFileService implements ITextFileService { const filesToSave: URI[] = []; const untitledToSave: URI[] = []; toSave.forEach(s => { - // TODO@remote - // if (s.scheme === Schemas.file) { - // filesToSave.push(s); - // } else if ((Array.isArray(arg1) || arg1 === true /* includeUntitled */) && s.scheme === UNTITLED_SCHEMA) { untitledToSave.push(s); } else {