mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
Remove test link provider
This commit is contained in:
@@ -341,23 +341,6 @@ export abstract class BaseExtHostTerminalService implements IExtHostTerminalServ
|
||||
onFirstListenerAdd: () => this._proxy.$startSendingDataEvents(),
|
||||
onLastListenerRemove: () => this._proxy.$stopSendingDataEvents()
|
||||
});
|
||||
|
||||
this.registerLinkProvider({
|
||||
provideTerminalLinks(ctx) {
|
||||
const links: vscode.TerminalLink[] = [
|
||||
{
|
||||
startIndex: 0,
|
||||
length: 10,
|
||||
tooltip: `Open this custom "${ctx.line.substr(0, 10)}" link`
|
||||
}
|
||||
];
|
||||
return links;
|
||||
},
|
||||
handleTerminalLink(link) {
|
||||
console.log('Handled link on ext host, tooltip=' + link.tooltip);
|
||||
return true;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
public abstract createTerminal(name?: string, shellPath?: string, shellArgs?: string[] | string): vscode.Terminal;
|
||||
|
||||
Reference in New Issue
Block a user