@codingame/monaco-vscode-api 26.2.1 → 26.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/missing-services.js +69 -276
- package/package.json +8 -8
- package/services.js +3 -3
- package/vscode/src/vs/base/browser/dom.js +2 -2
- package/vscode/src/vs/base/browser/ui/inputbox/inputBox.js +3 -2
- package/vscode/src/vs/base/browser/ui/toolbar/toolbar.js +4 -5
- package/vscode/src/vs/editor/browser/config/elementSizeObserver.d.ts +0 -1
- package/vscode/src/vs/editor/browser/config/elementSizeObserver.js +4 -8
- package/vscode/src/vs/editor/browser/observableCodeEditor.js +3 -5
- package/vscode/src/vs/editor/browser/widget/diffEditor/utils/editorGutter.js +5 -6
- package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js +0 -1
- package/vscode/src/vs/platform/product/common/product.js +1 -1
- package/vscode/src/vs/workbench/contrib/comments/browser/commentThreadBody.js +2 -1
package/missing-services.js
CHANGED
|
@@ -533,7 +533,7 @@ class FileService {
|
|
|
533
533
|
this.onDidChangeFileSystemProviderRegistrations = Event.None;
|
|
534
534
|
this.onDidChangeFileSystemProviderCapabilities = Event.None;
|
|
535
535
|
this.onWillActivateFileSystemProvider = Event.None;
|
|
536
|
-
this.registerProvider =
|
|
536
|
+
this.registerProvider = () => Disposable.None;
|
|
537
537
|
this.getProvider = function () {
|
|
538
538
|
return undefined;
|
|
539
539
|
};
|
|
@@ -571,9 +571,6 @@ class FileService {
|
|
|
571
571
|
};
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
|
-
__decorate([
|
|
575
|
-
Unsupported
|
|
576
|
-
], FileService.prototype, "registerProvider", void 0);
|
|
577
574
|
__decorate([
|
|
578
575
|
Unsupported
|
|
579
576
|
], FileService.prototype, "resolve", void 0);
|
|
@@ -906,7 +903,7 @@ __decorate([
|
|
|
906
903
|
class EmptyEditorGroupsService {
|
|
907
904
|
constructor() {
|
|
908
905
|
this.getScopedInstantiationService = unsupported;
|
|
909
|
-
this.registerContextKeyProvider =
|
|
906
|
+
this.registerContextKeyProvider = () => Disposable.None;
|
|
910
907
|
this.saveWorkingSet = unsupported;
|
|
911
908
|
this.getWorkingSets = unsupported;
|
|
912
909
|
this.applyWorkingSet = unsupported;
|
|
@@ -963,9 +960,6 @@ class EmptyEditorGroupsService {
|
|
|
963
960
|
__decorate([
|
|
964
961
|
Unsupported
|
|
965
962
|
], EmptyEditorGroupsService.prototype, "getScopedInstantiationService", void 0);
|
|
966
|
-
__decorate([
|
|
967
|
-
Unsupported
|
|
968
|
-
], EmptyEditorGroupsService.prototype, "registerContextKeyProvider", void 0);
|
|
969
963
|
__decorate([
|
|
970
964
|
Unsupported
|
|
971
965
|
], EmptyEditorGroupsService.prototype, "saveWorkingSet", void 0);
|
|
@@ -1083,7 +1077,7 @@ class WorkingCopyFileService {
|
|
|
1083
1077
|
this.move = unsupported;
|
|
1084
1078
|
this.copy = unsupported;
|
|
1085
1079
|
this.delete = unsupported;
|
|
1086
|
-
this.registerWorkingCopyProvider =
|
|
1080
|
+
this.registerWorkingCopyProvider = () => Disposable.None;
|
|
1087
1081
|
this.getDirty = () => [];
|
|
1088
1082
|
}
|
|
1089
1083
|
}
|
|
@@ -1111,9 +1105,6 @@ __decorate([
|
|
|
1111
1105
|
__decorate([
|
|
1112
1106
|
Unsupported
|
|
1113
1107
|
], WorkingCopyFileService.prototype, "delete", void 0);
|
|
1114
|
-
__decorate([
|
|
1115
|
-
Unsupported
|
|
1116
|
-
], WorkingCopyFileService.prototype, "registerWorkingCopyProvider", void 0);
|
|
1117
1108
|
registerSingleton(IWorkingCopyFileService, WorkingCopyFileService, InstantiationType.Eager);
|
|
1118
1109
|
class PathService {
|
|
1119
1110
|
constructor() {
|
|
@@ -1557,8 +1548,8 @@ class FakeAdapterManager {
|
|
|
1557
1548
|
this.activateDebuggers = unsupported;
|
|
1558
1549
|
this.registerDebugAdapterFactory = () => Disposable.None;
|
|
1559
1550
|
this.createDebugAdapter = unsupported;
|
|
1560
|
-
this.registerDebugAdapterDescriptorFactory =
|
|
1561
|
-
this.unregisterDebugAdapterDescriptorFactory =
|
|
1551
|
+
this.registerDebugAdapterDescriptorFactory = () => Disposable.None;
|
|
1552
|
+
this.unregisterDebugAdapterDescriptorFactory = () => { };
|
|
1562
1553
|
this.substituteVariables = unsupported;
|
|
1563
1554
|
this.runInTerminal = unsupported;
|
|
1564
1555
|
this.getEnabledDebugger = unsupported;
|
|
@@ -1578,12 +1569,6 @@ __decorate([
|
|
|
1578
1569
|
__decorate([
|
|
1579
1570
|
Unsupported
|
|
1580
1571
|
], FakeAdapterManager.prototype, "createDebugAdapter", void 0);
|
|
1581
|
-
__decorate([
|
|
1582
|
-
Unsupported
|
|
1583
|
-
], FakeAdapterManager.prototype, "registerDebugAdapterDescriptorFactory", void 0);
|
|
1584
|
-
__decorate([
|
|
1585
|
-
Unsupported
|
|
1586
|
-
], FakeAdapterManager.prototype, "unregisterDebugAdapterDescriptorFactory", void 0);
|
|
1587
1572
|
__decorate([
|
|
1588
1573
|
Unsupported
|
|
1589
1574
|
], FakeAdapterManager.prototype, "substituteVariables", void 0);
|
|
@@ -1994,7 +1979,7 @@ class TaskService {
|
|
|
1994
1979
|
this.getTaskDescription = unsupported;
|
|
1995
1980
|
this.customize = unsupported;
|
|
1996
1981
|
this.openConfig = unsupported;
|
|
1997
|
-
this.registerTaskProvider =
|
|
1982
|
+
this.registerTaskProvider = () => Disposable.None;
|
|
1998
1983
|
this.registerTaskSystem = () => { };
|
|
1999
1984
|
this.onDidChangeTaskSystemInfo = Event.None;
|
|
2000
1985
|
this.hasTaskSystemInfo = false;
|
|
@@ -2054,9 +2039,6 @@ __decorate([
|
|
|
2054
2039
|
__decorate([
|
|
2055
2040
|
Unsupported
|
|
2056
2041
|
], TaskService.prototype, "openConfig", void 0);
|
|
2057
|
-
__decorate([
|
|
2058
|
-
Unsupported
|
|
2059
|
-
], TaskService.prototype, "registerTaskProvider", void 0);
|
|
2060
2042
|
__decorate([
|
|
2061
2043
|
Unsupported
|
|
2062
2044
|
], TaskService.prototype, "extensionCallbackTaskComplete", void 0);
|
|
@@ -2128,7 +2110,7 @@ let MonacoSearchService = class MonacoSearchService {
|
|
|
2128
2110
|
};
|
|
2129
2111
|
};
|
|
2130
2112
|
this.clearCache = async () => { };
|
|
2131
|
-
this.registerSearchResultProvider =
|
|
2113
|
+
this.registerSearchResultProvider = () => Disposable.None;
|
|
2132
2114
|
}
|
|
2133
2115
|
};
|
|
2134
2116
|
__decorate([
|
|
@@ -2137,9 +2119,6 @@ __decorate([
|
|
|
2137
2119
|
__decorate([
|
|
2138
2120
|
Unsupported
|
|
2139
2121
|
], MonacoSearchService.prototype, "textSearchSplitSyncAsync", void 0);
|
|
2140
|
-
__decorate([
|
|
2141
|
-
Unsupported
|
|
2142
|
-
], MonacoSearchService.prototype, "registerSearchResultProvider", void 0);
|
|
2143
2122
|
MonacoSearchService = __decorate([
|
|
2144
2123
|
__param(0, IModelService)
|
|
2145
2124
|
], MonacoSearchService);
|
|
@@ -2737,13 +2716,10 @@ registerSingleton(IWorkingCopyService, WorkingCopyService, InstantiationType.Eag
|
|
|
2737
2716
|
class DecorationsService {
|
|
2738
2717
|
constructor() {
|
|
2739
2718
|
this.onDidChangeDecorations = Event.None;
|
|
2740
|
-
this.registerDecorationsProvider =
|
|
2719
|
+
this.registerDecorationsProvider = () => Disposable.None;
|
|
2741
2720
|
this.getDecoration = () => undefined;
|
|
2742
2721
|
}
|
|
2743
2722
|
}
|
|
2744
|
-
__decorate([
|
|
2745
|
-
Unsupported
|
|
2746
|
-
], DecorationsService.prototype, "registerDecorationsProvider", void 0);
|
|
2747
2723
|
registerSingleton(IDecorationsService, DecorationsService, InstantiationType.Eager);
|
|
2748
2724
|
class ElevatedFileService {
|
|
2749
2725
|
constructor() {
|
|
@@ -2980,7 +2956,7 @@ class ExplorerService {
|
|
|
2980
2956
|
this.isCut = unsupported;
|
|
2981
2957
|
this.applyBulkEdit = unsupported;
|
|
2982
2958
|
this.select = unsupported;
|
|
2983
|
-
this.registerView =
|
|
2959
|
+
this.registerView = async () => { };
|
|
2984
2960
|
}
|
|
2985
2961
|
get sortOrderConfiguration() {
|
|
2986
2962
|
return unsupported();
|
|
@@ -3028,9 +3004,6 @@ __decorate([
|
|
|
3028
3004
|
__decorate([
|
|
3029
3005
|
Unsupported
|
|
3030
3006
|
], ExplorerService.prototype, "select", void 0);
|
|
3031
|
-
__decorate([
|
|
3032
|
-
Unsupported
|
|
3033
|
-
], ExplorerService.prototype, "registerView", void 0);
|
|
3034
3007
|
registerSingleton(IExplorerService, ExplorerService, InstantiationType.Delayed);
|
|
3035
3008
|
class ExtensionStorageService {
|
|
3036
3009
|
constructor() {
|
|
@@ -3099,25 +3072,19 @@ __decorate([
|
|
|
3099
3072
|
registerSingleton(ITreeViewsDnDService, TreeViewsDnDService, InstantiationType.Delayed);
|
|
3100
3073
|
class BreadcrumbsService {
|
|
3101
3074
|
constructor() {
|
|
3102
|
-
this.register =
|
|
3075
|
+
this.register = () => Disposable.None;
|
|
3103
3076
|
this.getWidget = () => undefined;
|
|
3104
3077
|
}
|
|
3105
3078
|
}
|
|
3106
|
-
__decorate([
|
|
3107
|
-
Unsupported
|
|
3108
|
-
], BreadcrumbsService.prototype, "register", void 0);
|
|
3109
3079
|
registerSingleton(IBreadcrumbsService, BreadcrumbsService, InstantiationType.Eager);
|
|
3110
3080
|
class OutlineService {
|
|
3111
3081
|
constructor() {
|
|
3112
3082
|
this.onDidChange = Event.None;
|
|
3113
3083
|
this.canCreateOutline = () => false;
|
|
3114
3084
|
this.createOutline = async () => undefined;
|
|
3115
|
-
this.registerOutlineCreator =
|
|
3085
|
+
this.registerOutlineCreator = () => Disposable.None;
|
|
3116
3086
|
}
|
|
3117
3087
|
}
|
|
3118
|
-
__decorate([
|
|
3119
|
-
Unsupported
|
|
3120
|
-
], OutlineService.prototype, "registerOutlineCreator", void 0);
|
|
3121
3088
|
registerSingleton(IOutlineService, OutlineService, InstantiationType.Eager);
|
|
3122
3089
|
class UpdateService {
|
|
3123
3090
|
constructor() {
|
|
@@ -3628,34 +3595,19 @@ class TerminalProfileService {
|
|
|
3628
3595
|
this.contributedProfiles = [];
|
|
3629
3596
|
this.profilesReady = Promise.resolve();
|
|
3630
3597
|
this.getPlatformKey = unsupported;
|
|
3631
|
-
this.refreshAvailableProfiles =
|
|
3598
|
+
this.refreshAvailableProfiles = () => { };
|
|
3632
3599
|
this.getDefaultProfileName = () => undefined;
|
|
3633
3600
|
this.getDefaultProfile = () => undefined;
|
|
3634
3601
|
this.onDidChangeAvailableProfiles = Event.None;
|
|
3635
|
-
this.getContributedDefaultProfile =
|
|
3636
|
-
this.registerContributedProfile =
|
|
3637
|
-
this.getContributedProfileProvider =
|
|
3638
|
-
this.registerTerminalProfileProvider =
|
|
3602
|
+
this.getContributedDefaultProfile = async () => undefined;
|
|
3603
|
+
this.registerContributedProfile = async () => { };
|
|
3604
|
+
this.getContributedProfileProvider = () => undefined;
|
|
3605
|
+
this.registerTerminalProfileProvider = () => Disposable.None;
|
|
3639
3606
|
}
|
|
3640
3607
|
}
|
|
3641
3608
|
__decorate([
|
|
3642
3609
|
Unsupported
|
|
3643
3610
|
], TerminalProfileService.prototype, "getPlatformKey", void 0);
|
|
3644
|
-
__decorate([
|
|
3645
|
-
Unsupported
|
|
3646
|
-
], TerminalProfileService.prototype, "refreshAvailableProfiles", void 0);
|
|
3647
|
-
__decorate([
|
|
3648
|
-
Unsupported
|
|
3649
|
-
], TerminalProfileService.prototype, "getContributedDefaultProfile", void 0);
|
|
3650
|
-
__decorate([
|
|
3651
|
-
Unsupported
|
|
3652
|
-
], TerminalProfileService.prototype, "registerContributedProfile", void 0);
|
|
3653
|
-
__decorate([
|
|
3654
|
-
Unsupported
|
|
3655
|
-
], TerminalProfileService.prototype, "getContributedProfileProvider", void 0);
|
|
3656
|
-
__decorate([
|
|
3657
|
-
Unsupported
|
|
3658
|
-
], TerminalProfileService.prototype, "registerTerminalProfileProvider", void 0);
|
|
3659
3611
|
registerSingleton(ITerminalProfileService, TerminalProfileService, InstantiationType.Delayed);
|
|
3660
3612
|
class TerminalLogService {
|
|
3661
3613
|
constructor() {
|
|
@@ -3704,12 +3656,9 @@ class TerminalLinkProviderService {
|
|
|
3704
3656
|
this.linkProviders = new Set([]);
|
|
3705
3657
|
this.onDidAddLinkProvider = Event.None;
|
|
3706
3658
|
this.onDidRemoveLinkProvider = Event.None;
|
|
3707
|
-
this.registerLinkProvider =
|
|
3659
|
+
this.registerLinkProvider = () => Disposable.None;
|
|
3708
3660
|
}
|
|
3709
3661
|
}
|
|
3710
|
-
__decorate([
|
|
3711
|
-
Unsupported
|
|
3712
|
-
], TerminalLinkProviderService.prototype, "registerLinkProvider", void 0);
|
|
3713
3662
|
registerSingleton(ITerminalLinkProviderService, TerminalLinkProviderService, InstantiationType.Delayed);
|
|
3714
3663
|
class TerminalContributionService {
|
|
3715
3664
|
constructor() {
|
|
@@ -3775,16 +3724,10 @@ class TerminalQuickFixService {
|
|
|
3775
3724
|
this.onDidUnregisterProvider = Event.None;
|
|
3776
3725
|
this.extensionQuickFixes = Promise.resolve([]);
|
|
3777
3726
|
this.providers = new Map();
|
|
3778
|
-
this.registerQuickFixProvider =
|
|
3779
|
-
this.registerCommandSelector =
|
|
3727
|
+
this.registerQuickFixProvider = () => Disposable.None;
|
|
3728
|
+
this.registerCommandSelector = () => { };
|
|
3780
3729
|
}
|
|
3781
3730
|
}
|
|
3782
|
-
__decorate([
|
|
3783
|
-
Unsupported
|
|
3784
|
-
], TerminalQuickFixService.prototype, "registerQuickFixProvider", void 0);
|
|
3785
|
-
__decorate([
|
|
3786
|
-
Unsupported
|
|
3787
|
-
], TerminalQuickFixService.prototype, "registerCommandSelector", void 0);
|
|
3788
3731
|
registerSingleton(ITerminalQuickFixService, TerminalQuickFixService, InstantiationType.Delayed);
|
|
3789
3732
|
class UserDataSyncWorkbenchService {
|
|
3790
3733
|
constructor() {
|
|
@@ -3913,20 +3856,20 @@ class NotebookService {
|
|
|
3913
3856
|
this.onDidAddNotebookDocument = Event.None;
|
|
3914
3857
|
this.onWillRemoveNotebookDocument = Event.None;
|
|
3915
3858
|
this.onDidRemoveNotebookDocument = Event.None;
|
|
3916
|
-
this.registerNotebookSerializer =
|
|
3859
|
+
this.registerNotebookSerializer = () => Disposable.None;
|
|
3917
3860
|
this.withNotebookDataProvider = unsupported;
|
|
3918
3861
|
this.getOutputMimeTypeInfo = unsupported;
|
|
3919
3862
|
this.getViewTypeProvider = () => undefined;
|
|
3920
3863
|
this.getRendererInfo = () => undefined;
|
|
3921
3864
|
this.getRenderers = () => [];
|
|
3922
|
-
this.getStaticPreloads =
|
|
3865
|
+
this.getStaticPreloads = () => [];
|
|
3923
3866
|
this.updateMimePreferredRenderer = unsupported;
|
|
3924
3867
|
this.saveMimeDisplayOrder = unsupported;
|
|
3925
3868
|
this.createNotebookTextModel = unsupported;
|
|
3926
3869
|
this.getNotebookTextModel = () => undefined;
|
|
3927
|
-
this.getNotebookTextModels =
|
|
3870
|
+
this.getNotebookTextModels = () => [];
|
|
3928
3871
|
this.listNotebookDocuments = () => [];
|
|
3929
|
-
this.registerContributedNotebookType =
|
|
3872
|
+
this.registerContributedNotebookType = () => Disposable.None;
|
|
3930
3873
|
this.getContributedNotebookType = () => undefined;
|
|
3931
3874
|
this.getContributedNotebookTypes = () => [];
|
|
3932
3875
|
this.getNotebookProviderResourceRoots = () => [];
|
|
@@ -3944,18 +3887,12 @@ __decorate([
|
|
|
3944
3887
|
__decorate([
|
|
3945
3888
|
Unsupported
|
|
3946
3889
|
], NotebookService.prototype, "hasSupportedNotebooks", void 0);
|
|
3947
|
-
__decorate([
|
|
3948
|
-
Unsupported
|
|
3949
|
-
], NotebookService.prototype, "registerNotebookSerializer", void 0);
|
|
3950
3890
|
__decorate([
|
|
3951
3891
|
Unsupported
|
|
3952
3892
|
], NotebookService.prototype, "withNotebookDataProvider", void 0);
|
|
3953
3893
|
__decorate([
|
|
3954
3894
|
Unsupported
|
|
3955
3895
|
], NotebookService.prototype, "getOutputMimeTypeInfo", void 0);
|
|
3956
|
-
__decorate([
|
|
3957
|
-
Unsupported
|
|
3958
|
-
], NotebookService.prototype, "getStaticPreloads", void 0);
|
|
3959
3896
|
__decorate([
|
|
3960
3897
|
Unsupported
|
|
3961
3898
|
], NotebookService.prototype, "updateMimePreferredRenderer", void 0);
|
|
@@ -3965,12 +3902,6 @@ __decorate([
|
|
|
3965
3902
|
__decorate([
|
|
3966
3903
|
Unsupported
|
|
3967
3904
|
], NotebookService.prototype, "createNotebookTextModel", void 0);
|
|
3968
|
-
__decorate([
|
|
3969
|
-
Unsupported
|
|
3970
|
-
], NotebookService.prototype, "getNotebookTextModels", void 0);
|
|
3971
|
-
__decorate([
|
|
3972
|
-
Unsupported
|
|
3973
|
-
], NotebookService.prototype, "registerContributedNotebookType", void 0);
|
|
3974
3905
|
__decorate([
|
|
3975
3906
|
Unsupported
|
|
3976
3907
|
], NotebookService.prototype, "setToCopy", void 0);
|
|
@@ -4094,12 +4025,9 @@ __decorate([
|
|
|
4094
4025
|
registerSingleton(IUserActivityService, UserActivityService, InstantiationType.Delayed);
|
|
4095
4026
|
class CanonicalUriService {
|
|
4096
4027
|
constructor() {
|
|
4097
|
-
this.registerCanonicalUriProvider =
|
|
4028
|
+
this.registerCanonicalUriProvider = () => Disposable.None;
|
|
4098
4029
|
}
|
|
4099
4030
|
}
|
|
4100
|
-
__decorate([
|
|
4101
|
-
Unsupported
|
|
4102
|
-
], CanonicalUriService.prototype, "registerCanonicalUriProvider", void 0);
|
|
4103
4031
|
registerSingleton(ICanonicalUriService, CanonicalUriService, InstantiationType.Delayed);
|
|
4104
4032
|
class ExtensionStatusBarItemService {
|
|
4105
4033
|
constructor() {
|
|
@@ -4250,12 +4178,9 @@ registerSingleton(IChatService, ChatService, InstantiationType.Delayed);
|
|
|
4250
4178
|
class ChatMarkdownAnchorService {
|
|
4251
4179
|
constructor() {
|
|
4252
4180
|
this.lastFocusedAnchor = undefined;
|
|
4253
|
-
this.register =
|
|
4181
|
+
this.register = () => Disposable.None;
|
|
4254
4182
|
}
|
|
4255
4183
|
}
|
|
4256
|
-
__decorate([
|
|
4257
|
-
Unsupported
|
|
4258
|
-
], ChatMarkdownAnchorService.prototype, "register", void 0);
|
|
4259
4184
|
registerSingleton(IChatMarkdownAnchorService, ChatMarkdownAnchorService, InstantiationType.Delayed);
|
|
4260
4185
|
class LanguageModelStatsService {
|
|
4261
4186
|
constructor() {
|
|
@@ -4298,24 +4223,24 @@ class QuickChatAgentService {
|
|
|
4298
4223
|
constructor() {
|
|
4299
4224
|
this._serviceBrand = undefined;
|
|
4300
4225
|
this.hasToolsAgent = false;
|
|
4301
|
-
this.registerChatParticipantDetectionProvider =
|
|
4226
|
+
this.registerChatParticipantDetectionProvider = () => Disposable.None;
|
|
4302
4227
|
this.detectAgentOrCommand = async () => undefined;
|
|
4303
4228
|
this.hasChatParticipantDetectionProviders = () => false;
|
|
4304
4229
|
this.getChatTitle = async () => undefined;
|
|
4305
4230
|
this.agentHasDupeName = () => false;
|
|
4306
|
-
this.registerAgentCompletionProvider =
|
|
4231
|
+
this.registerAgentCompletionProvider = () => Disposable.None;
|
|
4307
4232
|
this.getAgentCompletionItems = async () => [];
|
|
4308
4233
|
this.getAgentByFullyQualifiedId = () => undefined;
|
|
4309
4234
|
this.getContributedDefaultAgent = () => undefined;
|
|
4310
|
-
this.registerAgentImplementation =
|
|
4311
|
-
this.registerDynamicAgent =
|
|
4235
|
+
this.registerAgentImplementation = () => Disposable.None;
|
|
4236
|
+
this.registerDynamicAgent = () => Disposable.None;
|
|
4312
4237
|
this.getActivatedAgents = () => [];
|
|
4313
4238
|
this.getAgentsByName = () => [];
|
|
4314
4239
|
this.getFollowups = async () => [];
|
|
4315
4240
|
this.getDefaultAgent = () => undefined;
|
|
4316
4241
|
this.updateAgent = unsupported;
|
|
4317
4242
|
this.onDidChangeAgents = Event.None;
|
|
4318
|
-
this.registerAgent =
|
|
4243
|
+
this.registerAgent = () => Disposable.None;
|
|
4319
4244
|
this.invokeAgent = unsupported;
|
|
4320
4245
|
this.getAgents = () => [];
|
|
4321
4246
|
this.getAgent = () => undefined;
|
|
@@ -4324,24 +4249,9 @@ class QuickChatAgentService {
|
|
|
4324
4249
|
this.setYieldRequested = unsupported;
|
|
4325
4250
|
}
|
|
4326
4251
|
}
|
|
4327
|
-
__decorate([
|
|
4328
|
-
Unsupported
|
|
4329
|
-
], QuickChatAgentService.prototype, "registerChatParticipantDetectionProvider", void 0);
|
|
4330
|
-
__decorate([
|
|
4331
|
-
Unsupported
|
|
4332
|
-
], QuickChatAgentService.prototype, "registerAgentCompletionProvider", void 0);
|
|
4333
|
-
__decorate([
|
|
4334
|
-
Unsupported
|
|
4335
|
-
], QuickChatAgentService.prototype, "registerAgentImplementation", void 0);
|
|
4336
|
-
__decorate([
|
|
4337
|
-
Unsupported
|
|
4338
|
-
], QuickChatAgentService.prototype, "registerDynamicAgent", void 0);
|
|
4339
4252
|
__decorate([
|
|
4340
4253
|
Unsupported
|
|
4341
4254
|
], QuickChatAgentService.prototype, "updateAgent", void 0);
|
|
4342
|
-
__decorate([
|
|
4343
|
-
Unsupported
|
|
4344
|
-
], QuickChatAgentService.prototype, "registerAgent", void 0);
|
|
4345
4255
|
__decorate([
|
|
4346
4256
|
Unsupported
|
|
4347
4257
|
], QuickChatAgentService.prototype, "invokeAgent", void 0);
|
|
@@ -4417,16 +4327,10 @@ registerSingleton(IWebviewService, WebviewService, InstantiationType.Delayed);
|
|
|
4417
4327
|
class WebviewViewService {
|
|
4418
4328
|
constructor() {
|
|
4419
4329
|
this.onNewResolverRegistered = Event.None;
|
|
4420
|
-
this.register =
|
|
4421
|
-
this.resolve =
|
|
4330
|
+
this.register = () => Disposable.None;
|
|
4331
|
+
this.resolve = async () => { };
|
|
4422
4332
|
}
|
|
4423
4333
|
}
|
|
4424
|
-
__decorate([
|
|
4425
|
-
Unsupported
|
|
4426
|
-
], WebviewViewService.prototype, "register", void 0);
|
|
4427
|
-
__decorate([
|
|
4428
|
-
Unsupported
|
|
4429
|
-
], WebviewViewService.prototype, "resolve", void 0);
|
|
4430
4334
|
registerSingleton(IWebviewViewService, WebviewViewService, InstantiationType.Delayed);
|
|
4431
4335
|
class LocaleService {
|
|
4432
4336
|
constructor() {
|
|
@@ -4616,7 +4520,7 @@ class WorkbenchExtensionManagementService {
|
|
|
4616
4520
|
this.copyExtensions = unsupported;
|
|
4617
4521
|
this.updateMetadata = unsupported;
|
|
4618
4522
|
this.download = unsupported;
|
|
4619
|
-
this.registerParticipant =
|
|
4523
|
+
this.registerParticipant = () => { };
|
|
4620
4524
|
this.getTargetPlatform = unsupported;
|
|
4621
4525
|
this.cleanUp = unsupported;
|
|
4622
4526
|
this.getInstallableServers = async () => [];
|
|
@@ -4684,9 +4588,6 @@ __decorate([
|
|
|
4684
4588
|
__decorate([
|
|
4685
4589
|
Unsupported
|
|
4686
4590
|
], WorkbenchExtensionManagementService.prototype, "download", void 0);
|
|
4687
|
-
__decorate([
|
|
4688
|
-
Unsupported
|
|
4689
|
-
], WorkbenchExtensionManagementService.prototype, "registerParticipant", void 0);
|
|
4690
4591
|
__decorate([
|
|
4691
4592
|
Unsupported
|
|
4692
4593
|
], WorkbenchExtensionManagementService.prototype, "getTargetPlatform", void 0);
|
|
@@ -4772,25 +4673,19 @@ class URLService {
|
|
|
4772
4673
|
constructor() {
|
|
4773
4674
|
this.create = unsupported;
|
|
4774
4675
|
this.open = async () => false;
|
|
4775
|
-
this.registerHandler =
|
|
4676
|
+
this.registerHandler = () => Disposable.None;
|
|
4776
4677
|
}
|
|
4777
4678
|
}
|
|
4778
4679
|
__decorate([
|
|
4779
4680
|
Unsupported
|
|
4780
4681
|
], URLService.prototype, "create", void 0);
|
|
4781
|
-
__decorate([
|
|
4782
|
-
Unsupported
|
|
4783
|
-
], URLService.prototype, "registerHandler", void 0);
|
|
4784
4682
|
registerSingleton(IURLService, URLService, InstantiationType.Delayed);
|
|
4785
4683
|
class RemoteSocketFactoryService {
|
|
4786
4684
|
constructor() {
|
|
4787
|
-
this.register =
|
|
4685
|
+
this.register = () => Disposable.None;
|
|
4788
4686
|
this.connect = unsupported;
|
|
4789
4687
|
}
|
|
4790
4688
|
}
|
|
4791
|
-
__decorate([
|
|
4792
|
-
Unsupported
|
|
4793
|
-
], RemoteSocketFactoryService.prototype, "register", void 0);
|
|
4794
4689
|
__decorate([
|
|
4795
4690
|
Unsupported
|
|
4796
4691
|
], RemoteSocketFactoryService.prototype, "connect", void 0);
|
|
@@ -4843,16 +4738,10 @@ __decorate([
|
|
|
4843
4738
|
registerSingleton(IDownloadService, DownloadService, InstantiationType.Delayed);
|
|
4844
4739
|
class ExtensionUrlHandler {
|
|
4845
4740
|
constructor() {
|
|
4846
|
-
this.registerExtensionHandler =
|
|
4847
|
-
this.unregisterExtensionHandler =
|
|
4741
|
+
this.registerExtensionHandler = () => { };
|
|
4742
|
+
this.unregisterExtensionHandler = () => { };
|
|
4848
4743
|
}
|
|
4849
4744
|
}
|
|
4850
|
-
__decorate([
|
|
4851
|
-
Unsupported
|
|
4852
|
-
], ExtensionUrlHandler.prototype, "registerExtensionHandler", void 0);
|
|
4853
|
-
__decorate([
|
|
4854
|
-
Unsupported
|
|
4855
|
-
], ExtensionUrlHandler.prototype, "unregisterExtensionHandler", void 0);
|
|
4856
4745
|
registerSingleton(IExtensionUrlHandler, ExtensionUrlHandler, InstantiationType.Delayed);
|
|
4857
4746
|
class CommentService {
|
|
4858
4747
|
constructor() {
|
|
@@ -4876,7 +4765,7 @@ class CommentService {
|
|
|
4876
4765
|
this.setDocumentComments = unsupported;
|
|
4877
4766
|
this.setWorkspaceComments = unsupported;
|
|
4878
4767
|
this.removeWorkspaceComments = unsupported;
|
|
4879
|
-
this.registerCommentController =
|
|
4768
|
+
this.registerCommentController = () => { };
|
|
4880
4769
|
this.unregisterCommentController = () => { };
|
|
4881
4770
|
this.getCommentController = unsupported;
|
|
4882
4771
|
this.createCommentThreadTemplate = unsupported;
|
|
@@ -4892,7 +4781,7 @@ class CommentService {
|
|
|
4892
4781
|
this.toggleReaction = unsupported;
|
|
4893
4782
|
this.setCurrentCommentThread = unsupported;
|
|
4894
4783
|
this.enableCommenting = unsupported;
|
|
4895
|
-
this.registerContinueOnCommentProvider =
|
|
4784
|
+
this.registerContinueOnCommentProvider = () => Disposable.None;
|
|
4896
4785
|
this.removeContinueOnComment = unsupported;
|
|
4897
4786
|
}
|
|
4898
4787
|
get commentsModel() {
|
|
@@ -4917,9 +4806,6 @@ __decorate([
|
|
|
4917
4806
|
__decorate([
|
|
4918
4807
|
Unsupported
|
|
4919
4808
|
], CommentService.prototype, "removeWorkspaceComments", void 0);
|
|
4920
|
-
__decorate([
|
|
4921
|
-
Unsupported
|
|
4922
|
-
], CommentService.prototype, "registerCommentController", void 0);
|
|
4923
4809
|
__decorate([
|
|
4924
4810
|
Unsupported
|
|
4925
4811
|
], CommentService.prototype, "getCommentController", void 0);
|
|
@@ -4956,9 +4842,6 @@ __decorate([
|
|
|
4956
4842
|
__decorate([
|
|
4957
4843
|
Unsupported
|
|
4958
4844
|
], CommentService.prototype, "enableCommenting", void 0);
|
|
4959
|
-
__decorate([
|
|
4960
|
-
Unsupported
|
|
4961
|
-
], CommentService.prototype, "registerContinueOnCommentProvider", void 0);
|
|
4962
4845
|
__decorate([
|
|
4963
4846
|
Unsupported
|
|
4964
4847
|
], CommentService.prototype, "removeContinueOnComment", void 0);
|
|
@@ -4967,13 +4850,10 @@ class NotebookCellStatusBarService {
|
|
|
4967
4850
|
constructor() {
|
|
4968
4851
|
this.onDidChangeProviders = Event.None;
|
|
4969
4852
|
this.onDidChangeItems = Event.None;
|
|
4970
|
-
this.registerCellStatusBarItemProvider =
|
|
4853
|
+
this.registerCellStatusBarItemProvider = () => Disposable.None;
|
|
4971
4854
|
this.getStatusBarItemsForCell = unsupported;
|
|
4972
4855
|
}
|
|
4973
4856
|
}
|
|
4974
|
-
__decorate([
|
|
4975
|
-
Unsupported
|
|
4976
|
-
], NotebookCellStatusBarService.prototype, "registerCellStatusBarItemProvider", void 0);
|
|
4977
4857
|
__decorate([
|
|
4978
4858
|
Unsupported
|
|
4979
4859
|
], NotebookCellStatusBarService.prototype, "getStatusBarItemsForCell", void 0);
|
|
@@ -4986,28 +4866,25 @@ class NotebookKernelService {
|
|
|
4986
4866
|
this.onDidRemoveKernel = Event.None;
|
|
4987
4867
|
this.onDidChangeSelectedNotebooks = Event.None;
|
|
4988
4868
|
this.onDidChangeNotebookAffinity = Event.None;
|
|
4989
|
-
this.registerKernel =
|
|
4869
|
+
this.registerKernel = () => Disposable.None;
|
|
4990
4870
|
this.getMatchingKernel = unsupported;
|
|
4991
4871
|
this.getSelectedOrSuggestedKernel = unsupported;
|
|
4992
4872
|
this.selectKernelForNotebook = unsupported;
|
|
4993
4873
|
this.preselectKernelForNotebook = unsupported;
|
|
4994
4874
|
this.updateKernelNotebookAffinity = unsupported;
|
|
4995
4875
|
this.onDidChangeKernelDetectionTasks = Event.None;
|
|
4996
|
-
this.registerNotebookKernelDetectionTask =
|
|
4876
|
+
this.registerNotebookKernelDetectionTask = () => Disposable.None;
|
|
4997
4877
|
this.getKernelDetectionTasks = unsupported;
|
|
4998
4878
|
this.onDidChangeSourceActions = Event.None;
|
|
4999
4879
|
this.getSourceActions = unsupported;
|
|
5000
4880
|
this.getRunningSourceActions = unsupported;
|
|
5001
|
-
this.registerKernelSourceActionProvider =
|
|
4881
|
+
this.registerKernelSourceActionProvider = () => Disposable.None;
|
|
5002
4882
|
this.getKernelSourceActions2 = unsupported;
|
|
5003
4883
|
}
|
|
5004
4884
|
}
|
|
5005
4885
|
__decorate([
|
|
5006
4886
|
Unsupported
|
|
5007
4887
|
], NotebookKernelService.prototype, "notifyVariablesChange", void 0);
|
|
5008
|
-
__decorate([
|
|
5009
|
-
Unsupported
|
|
5010
|
-
], NotebookKernelService.prototype, "registerKernel", void 0);
|
|
5011
4888
|
__decorate([
|
|
5012
4889
|
Unsupported
|
|
5013
4890
|
], NotebookKernelService.prototype, "getMatchingKernel", void 0);
|
|
@@ -5023,9 +4900,6 @@ __decorate([
|
|
|
5023
4900
|
__decorate([
|
|
5024
4901
|
Unsupported
|
|
5025
4902
|
], NotebookKernelService.prototype, "updateKernelNotebookAffinity", void 0);
|
|
5026
|
-
__decorate([
|
|
5027
|
-
Unsupported
|
|
5028
|
-
], NotebookKernelService.prototype, "registerNotebookKernelDetectionTask", void 0);
|
|
5029
4903
|
__decorate([
|
|
5030
4904
|
Unsupported
|
|
5031
4905
|
], NotebookKernelService.prototype, "getKernelDetectionTasks", void 0);
|
|
@@ -5035,9 +4909,6 @@ __decorate([
|
|
|
5035
4909
|
__decorate([
|
|
5036
4910
|
Unsupported
|
|
5037
4911
|
], NotebookKernelService.prototype, "getRunningSourceActions", void 0);
|
|
5038
|
-
__decorate([
|
|
5039
|
-
Unsupported
|
|
5040
|
-
], NotebookKernelService.prototype, "registerKernelSourceActionProvider", void 0);
|
|
5041
4912
|
__decorate([
|
|
5042
4913
|
Unsupported
|
|
5043
4914
|
], NotebookKernelService.prototype, "getKernelSourceActions2", void 0);
|
|
@@ -5181,9 +5052,6 @@ __decorate([
|
|
|
5181
5052
|
__decorate([
|
|
5182
5053
|
Unsupported
|
|
5183
5054
|
], ChatWidgetService.prototype, "openSession", void 0);
|
|
5184
|
-
__decorate([
|
|
5185
|
-
Unsupported
|
|
5186
|
-
], ChatWidgetService.prototype, "register", void 0);
|
|
5187
5055
|
registerSingleton(IChatWidgetService, ChatWidgetService, InstantiationType.Delayed);
|
|
5188
5056
|
class RemoteExplorerService {
|
|
5189
5057
|
constructor() {
|
|
@@ -5253,14 +5121,14 @@ class AuthenticationService {
|
|
|
5253
5121
|
this.onDidChangeSessions = Event.None;
|
|
5254
5122
|
this.onDidChangeDeclaredProviders = Event.None;
|
|
5255
5123
|
this.declaredProviders = [];
|
|
5256
|
-
this.registerDeclaredAuthenticationProvider =
|
|
5257
|
-
this.unregisterDeclaredAuthenticationProvider =
|
|
5124
|
+
this.registerDeclaredAuthenticationProvider = () => { };
|
|
5125
|
+
this.unregisterDeclaredAuthenticationProvider = () => { };
|
|
5258
5126
|
this.isAuthenticationProviderRegistered = () => false;
|
|
5259
|
-
this.registerAuthenticationProvider =
|
|
5260
|
-
this.unregisterAuthenticationProvider =
|
|
5127
|
+
this.registerAuthenticationProvider = () => { };
|
|
5128
|
+
this.unregisterAuthenticationProvider = () => { };
|
|
5261
5129
|
this.getProviderIds = () => [];
|
|
5262
5130
|
this.getProvider = unsupported;
|
|
5263
|
-
this.getSessions =
|
|
5131
|
+
this.getSessions = async () => [];
|
|
5264
5132
|
this.createSession = unsupported;
|
|
5265
5133
|
this.removeSession = unsupported;
|
|
5266
5134
|
this.getOrActivateProviderIdForServer = async () => undefined;
|
|
@@ -5269,18 +5137,6 @@ class AuthenticationService {
|
|
|
5269
5137
|
this.isDynamicAuthenticationProvider = () => false;
|
|
5270
5138
|
}
|
|
5271
5139
|
}
|
|
5272
|
-
__decorate([
|
|
5273
|
-
Unsupported
|
|
5274
|
-
], AuthenticationService.prototype, "registerDeclaredAuthenticationProvider", void 0);
|
|
5275
|
-
__decorate([
|
|
5276
|
-
Unsupported
|
|
5277
|
-
], AuthenticationService.prototype, "unregisterDeclaredAuthenticationProvider", void 0);
|
|
5278
|
-
__decorate([
|
|
5279
|
-
Unsupported
|
|
5280
|
-
], AuthenticationService.prototype, "registerAuthenticationProvider", void 0);
|
|
5281
|
-
__decorate([
|
|
5282
|
-
Unsupported
|
|
5283
|
-
], AuthenticationService.prototype, "unregisterAuthenticationProvider", void 0);
|
|
5284
5140
|
__decorate([
|
|
5285
5141
|
Unsupported
|
|
5286
5142
|
], AuthenticationService.prototype, "getProvider", void 0);
|
|
@@ -5377,19 +5233,13 @@ class TimelineService {
|
|
|
5377
5233
|
this.onDidChangeProviders = Event.None;
|
|
5378
5234
|
this.onDidChangeTimeline = Event.None;
|
|
5379
5235
|
this.onDidChangeUri = Event.None;
|
|
5380
|
-
this.registerTimelineProvider =
|
|
5381
|
-
this.unregisterTimelineProvider =
|
|
5236
|
+
this.registerTimelineProvider = () => Disposable.None;
|
|
5237
|
+
this.unregisterTimelineProvider = () => { };
|
|
5382
5238
|
this.getSources = () => [];
|
|
5383
5239
|
this.getTimeline = unsupported;
|
|
5384
5240
|
this.setUri = unsupported;
|
|
5385
5241
|
}
|
|
5386
5242
|
}
|
|
5387
|
-
__decorate([
|
|
5388
|
-
Unsupported
|
|
5389
|
-
], TimelineService.prototype, "registerTimelineProvider", void 0);
|
|
5390
|
-
__decorate([
|
|
5391
|
-
Unsupported
|
|
5392
|
-
], TimelineService.prototype, "unregisterTimelineProvider", void 0);
|
|
5393
5243
|
__decorate([
|
|
5394
5244
|
Unsupported
|
|
5395
5245
|
], TimelineService.prototype, "getTimeline", void 0);
|
|
@@ -5406,7 +5256,7 @@ class TestService {
|
|
|
5406
5256
|
this.onDidCancelTestRun = Event.None;
|
|
5407
5257
|
this.onWillProcessDiff = Event.None;
|
|
5408
5258
|
this.onDidProcessDiff = Event.None;
|
|
5409
|
-
this.registerTestController =
|
|
5259
|
+
this.registerTestController = () => Disposable.None;
|
|
5410
5260
|
this.getTestController = () => undefined;
|
|
5411
5261
|
this.refreshTests = unsupported;
|
|
5412
5262
|
this.cancelRefreshTests = unsupported;
|
|
@@ -5439,9 +5289,6 @@ __decorate([
|
|
|
5439
5289
|
__decorate([
|
|
5440
5290
|
Unsupported
|
|
5441
5291
|
], TestService.prototype, "showInlineOutput", null);
|
|
5442
|
-
__decorate([
|
|
5443
|
-
Unsupported
|
|
5444
|
-
], TestService.prototype, "registerTestController", void 0);
|
|
5445
5292
|
__decorate([
|
|
5446
5293
|
Unsupported
|
|
5447
5294
|
], TestService.prototype, "refreshTests", void 0);
|
|
@@ -5485,14 +5332,11 @@ __decorate([
|
|
|
5485
5332
|
registerSingleton(ISecretStorageService, SecretStorageService, InstantiationType.Delayed);
|
|
5486
5333
|
class ShareService {
|
|
5487
5334
|
constructor() {
|
|
5488
|
-
this.registerShareProvider =
|
|
5335
|
+
this.registerShareProvider = () => Disposable.None;
|
|
5489
5336
|
this.getShareActions = () => [];
|
|
5490
5337
|
this.provideShare = async () => undefined;
|
|
5491
5338
|
}
|
|
5492
5339
|
}
|
|
5493
|
-
__decorate([
|
|
5494
|
-
Unsupported
|
|
5495
|
-
], ShareService.prototype, "registerShareProvider", void 0);
|
|
5496
5340
|
registerSingleton(IShareService, ShareService, InstantiationType.Delayed);
|
|
5497
5341
|
class UserDataProfileImportExportService {
|
|
5498
5342
|
constructor() {
|
|
@@ -5806,19 +5650,13 @@ __decorate([
|
|
|
5806
5650
|
registerSingleton(ILanguageModelsService, LanguageModelsService, InstantiationType.Delayed);
|
|
5807
5651
|
class ChatSlashCommandService {
|
|
5808
5652
|
constructor() {
|
|
5809
|
-
this.onDidChangeCommands =
|
|
5810
|
-
this.registerSlashCommand =
|
|
5653
|
+
this.onDidChangeCommands = Event.None;
|
|
5654
|
+
this.registerSlashCommand = () => Disposable.None;
|
|
5811
5655
|
this.executeCommand = unsupported;
|
|
5812
5656
|
this.getCommands = unsupported;
|
|
5813
5657
|
this.hasCommand = unsupported;
|
|
5814
5658
|
}
|
|
5815
5659
|
}
|
|
5816
|
-
__decorate([
|
|
5817
|
-
Unsupported
|
|
5818
|
-
], ChatSlashCommandService.prototype, "onDidChangeCommands", void 0);
|
|
5819
|
-
__decorate([
|
|
5820
|
-
Unsupported
|
|
5821
|
-
], ChatSlashCommandService.prototype, "registerSlashCommand", void 0);
|
|
5822
5660
|
__decorate([
|
|
5823
5661
|
Unsupported
|
|
5824
5662
|
], ChatSlashCommandService.prototype, "executeCommand", void 0);
|
|
@@ -5846,29 +5684,23 @@ class AiRelatedInformationService {
|
|
|
5846
5684
|
constructor() {
|
|
5847
5685
|
this.isEnabled = () => false;
|
|
5848
5686
|
this.getRelatedInformation = unsupported;
|
|
5849
|
-
this.registerAiRelatedInformationProvider =
|
|
5687
|
+
this.registerAiRelatedInformationProvider = () => Disposable.None;
|
|
5850
5688
|
}
|
|
5851
5689
|
}
|
|
5852
5690
|
__decorate([
|
|
5853
5691
|
Unsupported
|
|
5854
5692
|
], AiRelatedInformationService.prototype, "getRelatedInformation", void 0);
|
|
5855
|
-
__decorate([
|
|
5856
|
-
Unsupported
|
|
5857
|
-
], AiRelatedInformationService.prototype, "registerAiRelatedInformationProvider", void 0);
|
|
5858
5693
|
registerSingleton(IAiRelatedInformationService, AiRelatedInformationService, InstantiationType.Delayed);
|
|
5859
5694
|
class AiEmbeddingVectorService {
|
|
5860
5695
|
constructor() {
|
|
5861
5696
|
this.isEnabled = () => false;
|
|
5862
5697
|
this.getEmbeddingVector = unsupported;
|
|
5863
|
-
this.registerAiEmbeddingVectorProvider =
|
|
5698
|
+
this.registerAiEmbeddingVectorProvider = () => Disposable.None;
|
|
5864
5699
|
}
|
|
5865
5700
|
}
|
|
5866
5701
|
__decorate([
|
|
5867
5702
|
Unsupported
|
|
5868
5703
|
], AiEmbeddingVectorService.prototype, "getEmbeddingVector", void 0);
|
|
5869
|
-
__decorate([
|
|
5870
|
-
Unsupported
|
|
5871
|
-
], AiEmbeddingVectorService.prototype, "registerAiEmbeddingVectorProvider", void 0);
|
|
5872
5704
|
registerSingleton(IAiEmbeddingVectorService, AiEmbeddingVectorService, InstantiationType.Delayed);
|
|
5873
5705
|
class AiSettingsSearchService {
|
|
5874
5706
|
constructor() {
|
|
@@ -5876,7 +5708,7 @@ class AiSettingsSearchService {
|
|
|
5876
5708
|
this.startSearch = unsupported;
|
|
5877
5709
|
this.getEmbeddingsResults = async () => [];
|
|
5878
5710
|
this.getLLMRankedResults = async () => [];
|
|
5879
|
-
this.registerSettingsSearchProvider =
|
|
5711
|
+
this.registerSettingsSearchProvider = () => Disposable.None;
|
|
5880
5712
|
this.handleSearchResult = unsupported;
|
|
5881
5713
|
this.onProviderRegistered = Event.None;
|
|
5882
5714
|
}
|
|
@@ -5884,9 +5716,6 @@ class AiSettingsSearchService {
|
|
|
5884
5716
|
__decorate([
|
|
5885
5717
|
Unsupported
|
|
5886
5718
|
], AiSettingsSearchService.prototype, "startSearch", void 0);
|
|
5887
|
-
__decorate([
|
|
5888
|
-
Unsupported
|
|
5889
|
-
], AiSettingsSearchService.prototype, "registerSettingsSearchProvider", void 0);
|
|
5890
5719
|
__decorate([
|
|
5891
5720
|
Unsupported
|
|
5892
5721
|
], AiSettingsSearchService.prototype, "handleSearchResult", void 0);
|
|
@@ -6054,7 +5883,7 @@ class SpeechService {
|
|
|
6054
5883
|
this.hasActiveKeywordRecognition = false;
|
|
6055
5884
|
this.recognizeKeyword = unsupported;
|
|
6056
5885
|
this.hasSpeechProvider = false;
|
|
6057
|
-
this.registerSpeechProvider =
|
|
5886
|
+
this.registerSpeechProvider = () => Disposable.None;
|
|
6058
5887
|
this.createSpeechToTextSession = unsupported;
|
|
6059
5888
|
}
|
|
6060
5889
|
}
|
|
@@ -6064,9 +5893,6 @@ __decorate([
|
|
|
6064
5893
|
__decorate([
|
|
6065
5894
|
Unsupported
|
|
6066
5895
|
], SpeechService.prototype, "recognizeKeyword", void 0);
|
|
6067
|
-
__decorate([
|
|
6068
|
-
Unsupported
|
|
6069
|
-
], SpeechService.prototype, "registerSpeechProvider", void 0);
|
|
6070
5896
|
__decorate([
|
|
6071
5897
|
Unsupported
|
|
6072
5898
|
], SpeechService.prototype, "createSpeechToTextSession", void 0);
|
|
@@ -6191,7 +6017,7 @@ class NotebookExecutionService {
|
|
|
6191
6017
|
this.executeNotebookCells = unsupported;
|
|
6192
6018
|
this.cancelNotebookCells = unsupported;
|
|
6193
6019
|
this.cancelNotebookCellHandles = unsupported;
|
|
6194
|
-
this.registerExecutionParticipant =
|
|
6020
|
+
this.registerExecutionParticipant = () => Disposable.None;
|
|
6195
6021
|
}
|
|
6196
6022
|
}
|
|
6197
6023
|
__decorate([
|
|
@@ -6203,9 +6029,6 @@ __decorate([
|
|
|
6203
6029
|
__decorate([
|
|
6204
6030
|
Unsupported
|
|
6205
6031
|
], NotebookExecutionService.prototype, "cancelNotebookCellHandles", void 0);
|
|
6206
|
-
__decorate([
|
|
6207
|
-
Unsupported
|
|
6208
|
-
], NotebookExecutionService.prototype, "registerExecutionParticipant", void 0);
|
|
6209
6032
|
registerSingleton(INotebookExecutionService, NotebookExecutionService, InstantiationType.Delayed);
|
|
6210
6033
|
class NotebookKeymapService {
|
|
6211
6034
|
}
|
|
@@ -6241,24 +6064,18 @@ class WalkthroughsService {
|
|
|
6241
6064
|
this.onDidRemoveWalkthrough = Event.None;
|
|
6242
6065
|
this.onDidChangeWalkthrough = Event.None;
|
|
6243
6066
|
this.onDidProgressStep = Event.None;
|
|
6244
|
-
this.getWalkthroughs =
|
|
6067
|
+
this.getWalkthroughs = () => [];
|
|
6245
6068
|
this.getWalkthrough = unsupported;
|
|
6246
|
-
this.registerWalkthrough =
|
|
6069
|
+
this.registerWalkthrough = () => { };
|
|
6247
6070
|
this.progressByEvent = unsupported;
|
|
6248
6071
|
this.progressStep = unsupported;
|
|
6249
6072
|
this.deprogressStep = unsupported;
|
|
6250
6073
|
this.markWalkthroughOpened = unsupported;
|
|
6251
6074
|
}
|
|
6252
6075
|
}
|
|
6253
|
-
__decorate([
|
|
6254
|
-
Unsupported
|
|
6255
|
-
], WalkthroughsService.prototype, "getWalkthroughs", void 0);
|
|
6256
6076
|
__decorate([
|
|
6257
6077
|
Unsupported
|
|
6258
6078
|
], WalkthroughsService.prototype, "getWalkthrough", void 0);
|
|
6259
|
-
__decorate([
|
|
6260
|
-
Unsupported
|
|
6261
|
-
], WalkthroughsService.prototype, "registerWalkthrough", void 0);
|
|
6262
6079
|
__decorate([
|
|
6263
6080
|
Unsupported
|
|
6264
6081
|
], WalkthroughsService.prototype, "progressByEvent", void 0);
|
|
@@ -6637,17 +6454,14 @@ __decorate([
|
|
|
6637
6454
|
registerSingleton(INotebookDocumentService, NotebookDocumentService, InstantiationType.Delayed);
|
|
6638
6455
|
class DebugVisualizerService {
|
|
6639
6456
|
constructor() {
|
|
6640
|
-
this.registerTree =
|
|
6457
|
+
this.registerTree = () => Disposable.None;
|
|
6641
6458
|
this.getVisualizedNodeFor = unsupported;
|
|
6642
6459
|
this.getVisualizedChildren = unsupported;
|
|
6643
6460
|
this.editTreeItem = unsupported;
|
|
6644
6461
|
this.getApplicableFor = unsupported;
|
|
6645
|
-
this.register =
|
|
6462
|
+
this.register = () => Disposable.None;
|
|
6646
6463
|
}
|
|
6647
6464
|
}
|
|
6648
|
-
__decorate([
|
|
6649
|
-
Unsupported
|
|
6650
|
-
], DebugVisualizerService.prototype, "registerTree", void 0);
|
|
6651
6465
|
__decorate([
|
|
6652
6466
|
Unsupported
|
|
6653
6467
|
], DebugVisualizerService.prototype, "getVisualizedNodeFor", void 0);
|
|
@@ -6660,9 +6474,6 @@ __decorate([
|
|
|
6660
6474
|
__decorate([
|
|
6661
6475
|
Unsupported
|
|
6662
6476
|
], DebugVisualizerService.prototype, "getApplicableFor", void 0);
|
|
6663
|
-
__decorate([
|
|
6664
|
-
Unsupported
|
|
6665
|
-
], DebugVisualizerService.prototype, "register", void 0);
|
|
6666
6477
|
registerSingleton(IDebugVisualizerService, DebugVisualizerService, InstantiationType.Delayed);
|
|
6667
6478
|
class EditSessionsLogService {
|
|
6668
6479
|
constructor() {
|
|
@@ -6986,13 +6797,10 @@ registerSingleton(IIssueFormService, IssueFormService, InstantiationType.Delayed
|
|
|
6986
6797
|
class CodeMapperService {
|
|
6987
6798
|
constructor() {
|
|
6988
6799
|
this.providers = [];
|
|
6989
|
-
this.registerCodeMapperProvider =
|
|
6800
|
+
this.registerCodeMapperProvider = () => Disposable.None;
|
|
6990
6801
|
this.mapCode = async () => undefined;
|
|
6991
6802
|
}
|
|
6992
6803
|
}
|
|
6993
|
-
__decorate([
|
|
6994
|
-
Unsupported
|
|
6995
|
-
], CodeMapperService.prototype, "registerCodeMapperProvider", void 0);
|
|
6996
6804
|
registerSingleton(ICodeMapperService, CodeMapperService, InstantiationType.Delayed);
|
|
6997
6805
|
class ChatEditingService {
|
|
6998
6806
|
constructor() {
|
|
@@ -7016,23 +6824,17 @@ registerSingleton(IChatEditingService, ChatEditingService, InstantiationType.Del
|
|
|
7016
6824
|
class ActionViewItemService {
|
|
7017
6825
|
constructor() {
|
|
7018
6826
|
this.onDidChange = Event.None;
|
|
7019
|
-
this.register =
|
|
6827
|
+
this.register = () => Disposable.None;
|
|
7020
6828
|
this.lookUp = () => undefined;
|
|
7021
6829
|
}
|
|
7022
6830
|
}
|
|
7023
|
-
__decorate([
|
|
7024
|
-
Unsupported
|
|
7025
|
-
], ActionViewItemService.prototype, "register", void 0);
|
|
7026
6831
|
registerSingleton(IActionViewItemService, ActionViewItemService, InstantiationType.Delayed);
|
|
7027
6832
|
class LanguageModelIgnoredFilesService {
|
|
7028
6833
|
constructor() {
|
|
7029
6834
|
this.fileIsIgnored = async () => false;
|
|
7030
|
-
this.registerIgnoredFileProvider =
|
|
6835
|
+
this.registerIgnoredFileProvider = () => Disposable.None;
|
|
7031
6836
|
}
|
|
7032
6837
|
}
|
|
7033
|
-
__decorate([
|
|
7034
|
-
Unsupported
|
|
7035
|
-
], LanguageModelIgnoredFilesService.prototype, "registerIgnoredFileProvider", void 0);
|
|
7036
6838
|
registerSingleton(ILanguageModelIgnoredFilesService, LanguageModelIgnoredFilesService, InstantiationType.Delayed);
|
|
7037
6839
|
class AllowedExtensionsService {
|
|
7038
6840
|
constructor() {
|
|
@@ -7118,7 +6920,7 @@ registerSingleton(IQuickDiffModelService, QuickDiffModelService, InstantiationTy
|
|
|
7118
6920
|
class TerminalCompletionService {
|
|
7119
6921
|
constructor() {
|
|
7120
6922
|
this.onDidChangeProviders = Event.None;
|
|
7121
|
-
this.registerTerminalCompletionProvider =
|
|
6923
|
+
this.registerTerminalCompletionProvider = () => Disposable.None;
|
|
7122
6924
|
this.provideCompletions = unsupported;
|
|
7123
6925
|
}
|
|
7124
6926
|
get providers() {
|
|
@@ -7128,9 +6930,6 @@ class TerminalCompletionService {
|
|
|
7128
6930
|
__decorate([
|
|
7129
6931
|
Unsupported
|
|
7130
6932
|
], TerminalCompletionService.prototype, "providers", null);
|
|
7131
|
-
__decorate([
|
|
7132
|
-
Unsupported
|
|
7133
|
-
], TerminalCompletionService.prototype, "registerTerminalCompletionProvider", void 0);
|
|
7134
6933
|
__decorate([
|
|
7135
6934
|
Unsupported
|
|
7136
6935
|
], TerminalCompletionService.prototype, "provideCompletions", void 0);
|
|
@@ -7207,7 +7006,7 @@ class PromptsService {
|
|
|
7207
7006
|
this.getPromptSlashCommandName = unsupported;
|
|
7208
7007
|
this.findAgentSkills = async () => undefined;
|
|
7209
7008
|
this.getResolvedSourceFolders = async () => [];
|
|
7210
|
-
this.registerPromptFileProvider =
|
|
7009
|
+
this.registerPromptFileProvider = () => Disposable.None;
|
|
7211
7010
|
this.getPromptDiscoveryInfo = unsupported;
|
|
7212
7011
|
}
|
|
7213
7012
|
}
|
|
@@ -7226,9 +7025,6 @@ __decorate([
|
|
|
7226
7025
|
__decorate([
|
|
7227
7026
|
Unsupported
|
|
7228
7027
|
], PromptsService.prototype, "getPromptSlashCommandName", void 0);
|
|
7229
|
-
__decorate([
|
|
7230
|
-
Unsupported
|
|
7231
|
-
], PromptsService.prototype, "registerPromptFileProvider", void 0);
|
|
7232
7028
|
__decorate([
|
|
7233
7029
|
Unsupported
|
|
7234
7030
|
], PromptsService.prototype, "getPromptDiscoveryInfo", void 0);
|
|
@@ -7581,14 +7377,11 @@ __decorate([
|
|
|
7581
7377
|
registerSingleton(IMcpElicitationService, McpElicitationService, InstantiationType.Eager);
|
|
7582
7378
|
class RemoteCodingAgentsService {
|
|
7583
7379
|
constructor() {
|
|
7584
|
-
this.registerAgent =
|
|
7380
|
+
this.registerAgent = () => { };
|
|
7585
7381
|
this.getRegisteredAgents = () => [];
|
|
7586
7382
|
this.getAvailableAgents = () => [];
|
|
7587
7383
|
}
|
|
7588
7384
|
}
|
|
7589
|
-
__decorate([
|
|
7590
|
-
Unsupported
|
|
7591
|
-
], RemoteCodingAgentsService.prototype, "registerAgent", void 0);
|
|
7592
7385
|
registerSingleton(IRemoteCodingAgentsService, RemoteCodingAgentsService, InstantiationType.Eager);
|
|
7593
7386
|
class AuthenticationQueryService {
|
|
7594
7387
|
constructor() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-api",
|
|
3
|
-
"version": "26.2.
|
|
3
|
+
"version": "26.2.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,13 +15,13 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-base-service-override": "26.2.
|
|
19
|
-
"@codingame/monaco-vscode-environment-service-override": "26.2.
|
|
20
|
-
"@codingame/monaco-vscode-extensions-service-override": "26.2.
|
|
21
|
-
"@codingame/monaco-vscode-files-service-override": "26.2.
|
|
22
|
-
"@codingame/monaco-vscode-host-service-override": "26.2.
|
|
23
|
-
"@codingame/monaco-vscode-layout-service-override": "26.2.
|
|
24
|
-
"@codingame/monaco-vscode-quickaccess-service-override": "26.2.
|
|
18
|
+
"@codingame/monaco-vscode-base-service-override": "26.2.2",
|
|
19
|
+
"@codingame/monaco-vscode-environment-service-override": "26.2.2",
|
|
20
|
+
"@codingame/monaco-vscode-extensions-service-override": "26.2.2",
|
|
21
|
+
"@codingame/monaco-vscode-files-service-override": "26.2.2",
|
|
22
|
+
"@codingame/monaco-vscode-host-service-override": "26.2.2",
|
|
23
|
+
"@codingame/monaco-vscode-layout-service-override": "26.2.2",
|
|
24
|
+
"@codingame/monaco-vscode-quickaccess-service-override": "26.2.2",
|
|
25
25
|
"@vscode/iconv-lite-umd": "0.7.1",
|
|
26
26
|
"dompurify": "3.3.1",
|
|
27
27
|
"jschardet": "3.1.4",
|
package/services.js
CHANGED
|
@@ -409,10 +409,10 @@ export { IAgentSessionsService } from './vscode/src/vs/workbench/contrib/chat/br
|
|
|
409
409
|
export { IUserAttentionService } from './vscode/src/vs/workbench/services/userAttention/common/userAttentionService.service.js';
|
|
410
410
|
export { ICodeCompareModelService } from './vscode/src/vs/workbench/contrib/chat/browser/widget/chatContentParts/chatTextEditContentPart.service.js';
|
|
411
411
|
|
|
412
|
-
if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "b6a47e94e326b5c209d118cf0f994d6065585705-
|
|
413
|
-
throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"b6a47e94e326b5c209d118cf0f994d6065585705-
|
|
412
|
+
if (window.monacoVscodeApiBuildId != null && window.monacoVscodeApiBuildId !== "b6a47e94e326b5c209d118cf0f994d6065585705-aaabd392-6c5a-430f-bce0-748cf4ec2eb8") {
|
|
413
|
+
throw new Error(`Another version of monaco-vscode-api has already been loaded. Trying to load ${"b6a47e94e326b5c209d118cf0f994d6065585705-aaabd392-6c5a-430f-bce0-748cf4ec2eb8"}, ${window.monacoVscodeApiBuildId} is already loaded`);
|
|
414
414
|
}
|
|
415
|
-
window.monacoVscodeApiBuildId = "b6a47e94e326b5c209d118cf0f994d6065585705-
|
|
415
|
+
window.monacoVscodeApiBuildId = "b6a47e94e326b5c209d118cf0f994d6065585705-aaabd392-6c5a-430f-bce0-748cf4ec2eb8";
|
|
416
416
|
function registerCommands(options) {
|
|
417
417
|
function asMenuId(menu) {
|
|
418
418
|
switch (menu) {
|
|
@@ -766,7 +766,7 @@ const sharedMutationObserver = new (class {
|
|
|
766
766
|
let mutationObserverPerOptions = mutationObserversPerTarget.get(optionsHash);
|
|
767
767
|
if (!mutationObserverPerOptions) {
|
|
768
768
|
const onDidMutate = new Emitter();
|
|
769
|
-
const observer =
|
|
769
|
+
const observer = new mainWindow.MutationObserver(mutations => onDidMutate.fire(mutations));
|
|
770
770
|
observer.observe(target, options);
|
|
771
771
|
const resolvedMutationObserverPerOptions = mutationObserverPerOptions = {
|
|
772
772
|
users: 1,
|
|
@@ -1399,7 +1399,7 @@ class DragAndDropObserver extends Disposable {
|
|
|
1399
1399
|
class DisposableResizeObserver extends Disposable {
|
|
1400
1400
|
constructor(callback) {
|
|
1401
1401
|
super();
|
|
1402
|
-
this.observer =
|
|
1402
|
+
this.observer = new mainWindow.ResizeObserver(callback);
|
|
1403
1403
|
this._register(toDisposable(() => this.observer.disconnect()));
|
|
1404
1404
|
}
|
|
1405
1405
|
observe(target, options) {
|
|
@@ -17,6 +17,7 @@ import { ScrollbarVisibility } from '../../../common/scrollable.js';
|
|
|
17
17
|
import * as inputBox from './inputBox.css';
|
|
18
18
|
import { localize } from '../../../../nls.js';
|
|
19
19
|
import { MutableDisposable } from '../../../common/lifecycle.js';
|
|
20
|
+
import { mainWindow } from '../../window.js';
|
|
20
21
|
|
|
21
22
|
registerCss(inputBox);
|
|
22
23
|
const $ = $$1;
|
|
@@ -516,13 +517,13 @@ class HistoryInputBox extends InputBox {
|
|
|
516
517
|
}
|
|
517
518
|
}
|
|
518
519
|
};
|
|
519
|
-
this.observer =
|
|
520
|
+
this.observer = new mainWindow.MutationObserver((mutationList, observer) => {
|
|
520
521
|
mutationList.forEach(mutation => {
|
|
521
522
|
if (!mutation.target.textContent) {
|
|
522
523
|
addSuffix();
|
|
523
524
|
}
|
|
524
525
|
});
|
|
525
|
-
})
|
|
526
|
+
});
|
|
526
527
|
this.observer.observe(this.input, {
|
|
527
528
|
attributeFilter: ["class"]
|
|
528
529
|
});
|
|
@@ -6,11 +6,11 @@ import { SubmenuAction, Separator, Action } from '../../../common/actions.js';
|
|
|
6
6
|
import { Codicon } from '../../../common/codicons.js';
|
|
7
7
|
import { ThemeIcon } from '../../../common/themables.js';
|
|
8
8
|
import { EventMultiplexer } from '../../../common/event.js';
|
|
9
|
-
import { Disposable, DisposableStore
|
|
9
|
+
import { Disposable, DisposableStore } from '../../../common/lifecycle.js';
|
|
10
10
|
import * as toolbar from './toolbar.css';
|
|
11
11
|
import { localize } from '../../../../nls.js';
|
|
12
12
|
import { createInstantHoverDelegate } from '../hover/hoverDelegateFactory.js';
|
|
13
|
-
import { createElement } from '../../dom.js';
|
|
13
|
+
import { createElement, DisposableResizeObserver } from '../../dom.js';
|
|
14
14
|
|
|
15
15
|
registerCss(toolbar);
|
|
16
16
|
const ACTION_MIN_WIDTH = 20;
|
|
@@ -101,11 +101,10 @@ class ToolBar extends Disposable {
|
|
|
101
101
|
this.element.classList.toggle("responsive-all", this.options.responsiveBehavior.kind === "all");
|
|
102
102
|
this.element.classList.toggle("responsive-last", this.options.responsiveBehavior.kind === "last");
|
|
103
103
|
this.element.style.setProperty(ACTION_MIN_WIDTH_VAR, `${this.actionMinWidth - ACTION_PADDING}px`);
|
|
104
|
-
const observer = ( new
|
|
104
|
+
const observer = this._store.add(( new DisposableResizeObserver(() => {
|
|
105
105
|
this.updateActions(this.element.getBoundingClientRect().width);
|
|
106
|
-
}));
|
|
106
|
+
})));
|
|
107
107
|
observer.observe(this.element);
|
|
108
|
-
this._store.add(toDisposable(() => observer.disconnect()));
|
|
109
108
|
}
|
|
110
109
|
}
|
|
111
110
|
set actionRunner(actionRunner) {
|
|
@@ -9,7 +9,6 @@ export declare class ElementSizeObserver extends Disposable {
|
|
|
9
9
|
private _height;
|
|
10
10
|
private _resizeObserver;
|
|
11
11
|
constructor(referenceDomElement: HTMLElement | null, dimension: IDimension | undefined);
|
|
12
|
-
dispose(): void;
|
|
13
12
|
getWidth(): number;
|
|
14
13
|
getHeight(): number;
|
|
15
14
|
startObserving(): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
|
|
2
2
|
import { Disposable } from '../../../base/common/lifecycle.js';
|
|
3
3
|
import { Emitter } from '../../../base/common/event.js';
|
|
4
|
-
import { scheduleAtNextAnimationFrame, getWindow } from '../../../base/browser/dom.js';
|
|
4
|
+
import { scheduleAtNextAnimationFrame, getWindow, DisposableResizeObserver } from '../../../base/browser/dom.js';
|
|
5
5
|
|
|
6
6
|
class ElementSizeObserver extends Disposable {
|
|
7
7
|
constructor(referenceDomElement, dimension) {
|
|
@@ -14,10 +14,6 @@ class ElementSizeObserver extends Disposable {
|
|
|
14
14
|
this._resizeObserver = null;
|
|
15
15
|
this.measureReferenceDomElement(false, dimension);
|
|
16
16
|
}
|
|
17
|
-
dispose() {
|
|
18
|
-
this.stopObserving();
|
|
19
|
-
super.dispose();
|
|
20
|
-
}
|
|
21
17
|
getWidth() {
|
|
22
18
|
return this._width;
|
|
23
19
|
}
|
|
@@ -53,7 +49,7 @@ class ElementSizeObserver extends Disposable {
|
|
|
53
49
|
}
|
|
54
50
|
}
|
|
55
51
|
};
|
|
56
|
-
this._resizeObserver = ( new
|
|
52
|
+
this._resizeObserver = this._register(( new DisposableResizeObserver(entries => {
|
|
57
53
|
if (entries && entries[0] && entries[0].contentRect) {
|
|
58
54
|
observedDimension = {
|
|
59
55
|
width: entries[0].contentRect.width,
|
|
@@ -64,13 +60,13 @@ class ElementSizeObserver extends Disposable {
|
|
|
64
60
|
}
|
|
65
61
|
shouldObserve = true;
|
|
66
62
|
update();
|
|
67
|
-
}));
|
|
63
|
+
})));
|
|
68
64
|
this._resizeObserver.observe(this._referenceDomElement);
|
|
69
65
|
}
|
|
70
66
|
}
|
|
71
67
|
stopObserving() {
|
|
72
68
|
if (this._resizeObserver) {
|
|
73
|
-
this._resizeObserver.
|
|
69
|
+
this._resizeObserver.dispose();
|
|
74
70
|
this._resizeObserver = null;
|
|
75
71
|
}
|
|
76
72
|
}
|
|
@@ -9,7 +9,7 @@ import { Position } from '../common/core/position.js';
|
|
|
9
9
|
import { Selection } from '../common/core/selection.js';
|
|
10
10
|
import { ContentWidgetPositionPreference } from './editorBrowser.js';
|
|
11
11
|
import { Point } from '../common/core/2d/point.js';
|
|
12
|
-
import { createElement } from '../../base/browser/dom.js';
|
|
12
|
+
import { DisposableResizeObserver, createElement } from '../../base/browser/dom.js';
|
|
13
13
|
import { TransactionImpl } from '../../base/common/observableInternal/transaction.js';
|
|
14
14
|
import { observableFromEventOpts, observableFromEvent } from '../../base/common/observableInternal/observables/observableFromEvent.js';
|
|
15
15
|
import { derivedOpts, derivedWithSetter, derived } from '../../base/common/observableInternal/observables/derived.js';
|
|
@@ -66,7 +66,7 @@ class ObservableCodeEditor extends Disposable {
|
|
|
66
66
|
getTransaction: () => this._currentTransaction
|
|
67
67
|
}, e => {
|
|
68
68
|
const container = this.editor.getContainerDomNode();
|
|
69
|
-
const resizeObserver = ( new
|
|
69
|
+
const resizeObserver = ( new DisposableResizeObserver(() => {
|
|
70
70
|
if (this._sawZeroLineWidth) {
|
|
71
71
|
this._sawZeroLineWidth = false;
|
|
72
72
|
this.editor.resetLineWidthCaches();
|
|
@@ -74,9 +74,7 @@ class ObservableCodeEditor extends Disposable {
|
|
|
74
74
|
e(undefined);
|
|
75
75
|
}));
|
|
76
76
|
resizeObserver.observe(container);
|
|
77
|
-
return
|
|
78
|
-
dispose: () => resizeObserver.disconnect()
|
|
79
|
-
};
|
|
77
|
+
return resizeObserver;
|
|
80
78
|
},
|
|
81
79
|
() => ({}));
|
|
82
80
|
this._updateCounter = 0;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
|
|
2
|
-
import { h, reset, createElement } from '../../../../../base/browser/dom.js';
|
|
3
|
-
import { Disposable, DisposableMap
|
|
2
|
+
import { h, DisposableResizeObserver, reset, createElement } from '../../../../../base/browser/dom.js';
|
|
3
|
+
import { Disposable, DisposableMap } from '../../../../../base/common/lifecycle.js';
|
|
4
4
|
import '../../../../../base/common/observableInternal/index.js';
|
|
5
5
|
import { LineRange } from '../../../../common/core/ranges/lineRange.js';
|
|
6
6
|
import { OffsetRange } from '../../../../common/core/ranges/offsetRange.js';
|
|
7
7
|
import { observableFromEvent } from '../../../../../base/common/observableInternal/observables/observableFromEvent.js';
|
|
8
8
|
import { observableSignalFromEvent } from '../../../../../base/common/observableInternal/observables/observableSignalFromEvent.js';
|
|
9
9
|
import { observableSignal } from '../../../../../base/common/observableInternal/observables/observableSignal.js';
|
|
10
|
-
import { autorun } from '../../../../../base/common/observableInternal/reactions/autorun.js';
|
|
11
10
|
import { transaction } from '../../../../../base/common/observableInternal/transaction.js';
|
|
11
|
+
import { autorun } from '../../../../../base/common/observableInternal/reactions/autorun.js';
|
|
12
12
|
import { observableValue } from '../../../../../base/common/observableInternal/observables/observableValue.js';
|
|
13
13
|
|
|
14
14
|
class EditorGutter extends Disposable {
|
|
@@ -40,13 +40,12 @@ class EditorGutter extends Disposable {
|
|
|
40
40
|
width: "100%"
|
|
41
41
|
}
|
|
42
42
|
}).root);
|
|
43
|
-
const o = ( new
|
|
43
|
+
const o = this._register(( new DisposableResizeObserver(() => {
|
|
44
44
|
transaction(tx => {
|
|
45
45
|
this.domNodeSizeChanged.trigger(tx);
|
|
46
46
|
});
|
|
47
|
-
}));
|
|
47
|
+
})));
|
|
48
48
|
o.observe(this._domNode);
|
|
49
|
-
this._register(toDisposable(() => o.disconnect()));
|
|
50
49
|
this._register(autorun(reader => {
|
|
51
50
|
scrollDecoration.className = this.isScrollTopZero.read(reader) ? "" : "scroll-decoration";
|
|
52
51
|
}));
|
package/vscode/src/vs/editor/contrib/inlineCompletions/browser/view/inlineEdits/utils/utils.js
CHANGED
|
@@ -3,7 +3,6 @@ import '../../../../../../../base/browser/dom.js';
|
|
|
3
3
|
import '../../../../../../../base/browser/ui/keybindingLabel/keybindingLabel.js';
|
|
4
4
|
import { numberComparator } from '../../../../../../../base/common/arrays.js';
|
|
5
5
|
import { findFirstMin } from '../../../../../../../base/common/arraysFind.js';
|
|
6
|
-
import '../../../../../../../base/common/lifecycle.js';
|
|
7
6
|
import '../../../../../../../base/common/observableInternal/index.js';
|
|
8
7
|
import '../../../../../../../base/common/platform.js';
|
|
9
8
|
import { splitLines } from '../../../../../../../base/common/strings.js';
|
|
@@ -9,6 +9,7 @@ import { ICommentService } from './commentService.service.js';
|
|
|
9
9
|
import { StandardKeyboardEvent } from '../../../../base/browser/keyboardEvent.js';
|
|
10
10
|
import { KeyCode } from '../../../../base/common/keyCodes.js';
|
|
11
11
|
import { CommentNode } from './commentNode.js';
|
|
12
|
+
import { mainWindow } from '../../../../base/browser/window.js';
|
|
12
13
|
|
|
13
14
|
let CommentThreadBody = class CommentThreadBody extends Disposable {
|
|
14
15
|
get length() {
|
|
@@ -106,7 +107,7 @@ let CommentThreadBody = class CommentThreadBody extends Disposable {
|
|
|
106
107
|
}
|
|
107
108
|
}
|
|
108
109
|
}
|
|
109
|
-
this._resizeObserver =
|
|
110
|
+
this._resizeObserver = new mainWindow.MutationObserver(this._refresh.bind(this));
|
|
110
111
|
this._resizeObserver.observe(this.container, {
|
|
111
112
|
attributes: true,
|
|
112
113
|
childList: true,
|