Skip to content

Commit

Permalink
rm unneeded
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrogge committed Feb 4, 2025
1 parent a0ab49a commit 4728a5d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
4 changes: 0 additions & 4 deletions src/vs/workbench/api/common/extHostTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import { RemoteAuthorityResolverErrorCode } from '../../../platform/remote/commo
import { CellEditType, ICellMetadataEdit, IDocumentMetadataEdit, isTextStreamMime } from '../../contrib/notebook/common/notebookCommon.js';
import { IRelativePatternDto } from './extHost.protocol.js';
import { TextEditorSelectionSource } from '../../../platform/editor/common/editor.js';
import { isWindows } from '../../../base/common/platform.js';
import { CancellationToken } from '../../../base/common/cancellation.js';

/**
Expand Down Expand Up @@ -2202,9 +2201,6 @@ export class TerminalCompletionList<T extends TerminalCompletionItem = TerminalC
constructor(items?: T[], resourceRequestConfig?: TerminalResourceRequestConfig) {
this.items = items ?? [];
this.resourceRequestConfig = resourceRequestConfig;
if (this.resourceRequestConfig) {
this.resourceRequestConfig.pathSeparator = isWindows ? '\\' : '/';
}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,6 @@ export class TerminalCompletionService extends Disposable implements ITerminalCo
const resourceCompletions: ITerminalCompletion[] = [];
const cursorPrefix = promptValue.substring(0, cursorPosition);

// TODO: This should come in through the resourceRequestConfig
const useBackslash = resourceRequestConfig.pathSeparator === '\\';

// The last word (or argument). When the cursor is following a space it will be the empty
Expand Down

0 comments on commit 4728a5d

Please sign in to comment.