mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-27 12:04:04 +01:00
@@ -310,6 +310,11 @@ configurationRegistry.registerConfiguration({
|
||||
description: nls.localize('terminal.integrated.experimentalUseTitleEvent', "An experimental setting that will use the terminal title event for the dropdown title. This setting will only apply to new terminals."),
|
||||
type: 'boolean',
|
||||
default: false
|
||||
},
|
||||
'terminal.integrated.enableFileLinks': {
|
||||
description: nls.localize('terminal.integrated.enableFileLinks', "Whether to enable file links in the terminal. Links can be slow when working on a network drive in particular because each file link is verified against the file system."),
|
||||
type: 'boolean',
|
||||
default: true
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -108,7 +108,9 @@ export class TerminalLinkHandler {
|
||||
|
||||
this.registerWebLinkHandler();
|
||||
if (this._processManager) {
|
||||
this.registerLocalLinkHandler();
|
||||
if (this._configHelper.config.enableFileLinks) {
|
||||
this.registerLocalLinkHandler();
|
||||
}
|
||||
this.registerGitDiffLinkHandlers();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -116,6 +116,7 @@ export interface ITerminalConfiguration {
|
||||
windowsEnableConpty: boolean;
|
||||
experimentalRefreshOnResume: boolean;
|
||||
experimentalUseTitleEvent: boolean;
|
||||
enableFileLinks: boolean;
|
||||
}
|
||||
|
||||
export interface ITerminalConfigHelper {
|
||||
|
||||
Reference in New Issue
Block a user