@@ -12,7 +12,6 @@ import { ITerminalProfileContribution } from 'vs/platform/terminal/common/termin
12
12
13
13
export interface ITerminalCommandSelector {
14
14
id : string ;
15
- extensionId : string ;
16
15
commandLineMatcher : string | RegExp ;
17
16
outputMatcher ?: ITerminalOutputMatcher ;
18
17
exitStatus : boolean ;
@@ -25,29 +24,25 @@ export interface ITerminalQuickFixOptions {
25
24
commandLineMatcher : string | RegExp ;
26
25
outputMatcher ?: ITerminalOutputMatcher ;
27
26
exitStatus : boolean ;
28
- extensionId ?: string ;
29
27
}
30
28
31
29
export interface ITerminalQuickFix {
32
30
type : 'command' | 'opener' ;
33
- id ? : string ;
31
+ id : string ;
34
32
source : string ;
35
33
}
36
34
37
35
export interface ITerminalQuickFixCommandAction extends ITerminalQuickFix {
38
36
type : 'command' ;
39
37
terminalCommand : string ;
40
- id : string ;
41
38
// TODO: Should this depend on whether alt is held?
42
39
addNewLine ?: boolean ;
43
40
}
44
41
export interface ITerminalQuickFixOpenerAction extends ITerminalQuickFix {
45
42
type : 'opener' ;
46
- id : string ;
47
43
uri : UriComponents ;
48
44
}
49
45
50
-
51
46
export interface ITerminalCommandSelector {
52
47
commandLineMatcher : string | RegExp ;
53
48
outputMatcher ?: ITerminalOutputMatcher ;
@@ -59,7 +54,6 @@ export type TerminalQuickFixCallback = (matchResult: ITerminalCommandMatchResult
59
54
export type TerminalQuickFixCallbackExtension = ( terminalCommand : ITerminalCommand , lines : string [ ] | undefined , option : ITerminalQuickFixOptions , token : CancellationToken ) => Promise < ITerminalQuickFix [ ] | ITerminalQuickFix | undefined > ;
60
55
61
56
export interface ITerminalQuickFixProvider {
62
- extensionId : string ;
63
57
/**
64
58
* Provides terminal quick fixes
65
59
* @param commandMatchResult The command match result for which to provide quick fixes
@@ -84,11 +78,9 @@ export interface IInternalOptions extends ITerminalQuickFixOptions {
84
78
getQuickFixes : TerminalQuickFixCallback ;
85
79
}
86
80
87
-
88
81
export interface IResolvedExtensionOptions extends ITerminalQuickFixOptions {
89
82
type : 'resolved' ;
90
83
getQuickFixes : TerminalQuickFixCallbackExtension ;
91
- extensionId : string ;
92
84
}
93
85
94
86
export interface IUnresolvedExtensionOptions extends ITerminalQuickFixOptions {
@@ -100,10 +92,6 @@ export interface ITerminalContributions {
100
92
quickFixes ?: ITerminalCommandSelector [ ] ;
101
93
}
102
94
103
- export interface IExtensionTerminalQuickFix extends ITerminalQuickFixOptions {
104
- extensionIdentifier : string ;
105
- }
106
-
107
95
108
96
/**
109
97
* A matcher that runs on a sub-section of a terminal command's output
0 commit comments