Skip to content

Commit 36e6379

Browse files
authored
Merge pull request #150 from DeMoorJasper/feat/custom-status-bar
feat(services): Expose view services
2 parents 5bc1a2a + 833caf3 commit 36e6379

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

src/service-override/views.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,5 +420,12 @@ export {
420420
OpenEditor,
421421
IEditorOptions,
422422
IResolvedTextEditorModel,
423-
IReference
423+
IReference,
424+
425+
HoverService,
426+
ActivityService,
427+
StatusbarPart,
428+
SidebarPart,
429+
ActivitybarPart,
430+
PanelPart
424431
}

src/services.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ export async function initialize (overrides: IEditorOverrideServices): Promise<v
6565
})
6666
}
6767

68+
export { SyncDescriptor } from 'vs/platform/instantiation/common/descriptors'
69+
6870
// Export all services as monaco doesn't export them
6971
export { StandaloneServices } from 'vs/editor/standalone/browser/standaloneServices'
7072

@@ -151,7 +153,7 @@ export { IAudioCueService } from 'vs/platform/audioCues/browser/audioCueService'
151153
export { IDebugService } from 'vs/workbench/contrib/debug/common/debug'
152154
export { ILoggerService, LogLevel } from 'vs/platform/log/common/log'
153155
export { ILogService } from 'vs/platform/log/common/log'
154-
export { IViewsService } from 'vs/workbench/common/views'
156+
export { IViewsService, IViewDescriptorService } from 'vs/workbench/common/views'
155157
export { ILayoutService } from 'vs/platform/layout/browser/layoutService'
156158
export { IPreferencesService } from 'vs/workbench/services/preferences/common/preferences'
157159
export { IPreferencesSearchService } from 'vs/workbench/contrib/preferences/common/preferences'
@@ -209,6 +211,10 @@ export {
209211
IPromptWithDefaultCancel
210212
} from 'vs/platform/dialogs/common/dialogs'
211213
export { IMarkdownString, MarkdownStringTrustedOptions } from 'vs/base/common/htmlContent'
214+
export { IActivityService, IBadge } from 'vs/workbench/services/activity/common/activity'
215+
export { IHoverService } from 'vs/workbench/services/hover/browser/hover'
216+
export { IExplorerService } from 'vs/workbench/contrib/files/browser/files'
217+
export { IStatusbarService } from 'vs/workbench/services/statusbar/browser/statusbar'
212218

213219
export {
214220
IAction,

0 commit comments

Comments
 (0)