Skip to content

Auto import importing wrong item #116375

@Tyriar

Description

@Tyriar

recording (3)

Setup:

I was in src\vs\platform\terminal\node\terminalIpc.ts containing this:

/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

import { IServerChannel } from 'vs/base/parts/ipc/common/ipc';
import { Disposable } from 'vscode';



export class GlobalStorageDatabaseChannel extends Disposable implements IServerChannel {

	listen(_: unknown, event: string): Event<any> {
		throw new Error(`Event not found: ${event}`);
	}

	async call(_: unknown, command: string, arg?: any): Promise<any> {
	}
}

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)papercut 🩸A particularly annoying issue impacting someone on the teamsuggestIntelliSense, Auto CompletetypescriptTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions