Skip to content

Commit 74fe1d7

Browse files
committed
Revert "move statusBar services and extension point from /browser to /common"
This reverts commit e32bf9a.
1 parent 92f0b68 commit 74fe1d7

File tree

30 files changed

+30
-30
lines changed

30 files changed

+30
-30
lines changed

src/vs/workbench/api/browser/extensionHost.contribution.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { ColorExtensionPoint } from 'vs/workbench/services/themes/common/colorEx
1414
import { IconExtensionPoint } from 'vs/workbench/services/themes/common/iconExtensionPoint';
1515
import { TokenClassificationExtensionPoints } from 'vs/workbench/services/themes/common/tokenClassificationExtensionPoint';
1616
import { LanguageConfigurationFileHandler } from 'vs/workbench/contrib/codeEditor/browser/languageConfigurationExtensionPoint';
17-
import { StatusBarItemsExtensionPoint } from 'vs/workbench/api/common/statusBarExtensionPoint';
17+
import { StatusBarItemsExtensionPoint } from 'vs/workbench/api/browser/statusBarExtensionPoint';
1818

1919
// --- mainThread participants
2020
import './mainThreadLocalization';

src/vs/workbench/api/browser/mainThreadStatusBar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { DisposableMap } from 'vs/base/common/lifecycle';
1010
import { Command } from 'vs/editor/common/languages';
1111
import { IAccessibilityInformation } from 'vs/platform/accessibility/common/accessibility';
1212
import { IMarkdownString } from 'vs/base/common/htmlContent';
13-
import { IExtensionStatusBarItemService } from 'vs/workbench/api/common/statusBarExtensionPoint';
13+
import { IExtensionStatusBarItemService } from 'vs/workbench/api/browser/statusBarExtensionPoint';
1414

1515
@extHostNamedCustomer(MainContext.MainThreadStatusBar)
1616
export class MainThreadStatusBar implements MainThreadStatusBarShape {

src/vs/workbench/api/common/statusBarExtensionPoint.ts renamed to src/vs/workbench/api/browser/statusBarExtensionPoint.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import { localize } from 'vs/nls';
99
import { createDecorator } from 'vs/platform/instantiation/common/instantiation';
1010
import { isProposedApiEnabled } from 'vs/workbench/services/extensions/common/extensions';
1111
import { ExtensionsRegistry } from 'vs/workbench/services/extensions/common/extensionsRegistry';
12-
import { IStatusbarService, StatusbarAlignment as MainThreadStatusBarAlignment, IStatusbarEntryAccessor, IStatusbarEntry, StatusbarAlignment, IStatusbarEntryPriority } from 'vs/workbench/services/statusbar/common/statusbar';
12+
import { IStatusbarService, StatusbarAlignment as MainThreadStatusBarAlignment, IStatusbarEntryAccessor, IStatusbarEntry, StatusbarAlignment, IStatusbarEntryPriority } from 'vs/workbench/services/statusbar/browser/statusbar';
1313
import { ThemeColor } from 'vs/base/common/themables';
1414
import { Command } from 'vs/editor/common/languages';
1515
import { IAccessibilityInformation } from 'vs/platform/accessibility/common/accessibility';
@@ -193,7 +193,7 @@ export class StatusBarItemsExtensionPoint {
193193
for (const entry of extensions) {
194194

195195
if (!isProposedApiEnabled(entry.description, 'contribStatusBarItems')) {
196-
entry.collector.error(`The '${statusBarItemsExtensionPoint.name}' contribution is proposed API and cannot be used by this extension`);
196+
entry.collector.error(`The ${statusBarItemsExtensionPoint.name} is proposed API`);
197197
continue;
198198
}
199199

src/vs/workbench/browser/layout.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { IEditorService } from 'vs/workbench/services/editor/common/editorServic
2727
import { EditorGroupLayout, GroupsOrder, IEditorGroupsService } from 'vs/workbench/services/editor/common/editorGroupsService';
2828
import { SerializableGrid, ISerializableView, ISerializedGrid, Orientation, ISerializedNode, ISerializedLeafNode, Direction, IViewSize, Sizing } from 'vs/base/browser/ui/grid/grid';
2929
import { Part } from 'vs/workbench/browser/part';
30-
import { IStatusbarService } from 'vs/workbench/services/statusbar/common/statusbar';
30+
import { IStatusbarService } from 'vs/workbench/services/statusbar/browser/statusbar';
3131
import { IFileService } from 'vs/platform/files/common/files';
3232
import { isCodeEditor } from 'vs/editor/browser/editorBrowser';
3333
import { coalesce } from 'vs/base/common/arrays';

src/vs/workbench/browser/parts/editor/accessibilityStatus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { CommandsRegistry } from 'vs/platform/commands/common/commands';
1212
import { ConfigurationTarget, IConfigurationService } from 'vs/platform/configuration/common/configuration';
1313
import { INotificationHandle, INotificationService, NotificationPriority } from 'vs/platform/notification/common/notification';
1414
import { IWorkbenchContribution } from 'vs/workbench/common/contributions';
15-
import { IStatusbarEntryAccessor, IStatusbarService, StatusbarAlignment } from 'vs/workbench/services/statusbar/common/statusbar';
15+
import { IStatusbarEntryAccessor, IStatusbarService, StatusbarAlignment } from 'vs/workbench/services/statusbar/browser/statusbar';
1616
import { themeColorFromId } from 'vs/platform/theme/common/themeService';
1717
import { STATUS_BAR_PROMINENT_ITEM_BACKGROUND, STATUS_BAR_PROMINENT_ITEM_FOREGROUND } from 'vs/workbench/common/theme';
1818

src/vs/workbench/browser/parts/editor/editorStatus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ import { getIconClassesForLanguageId } from 'vs/editor/common/services/getIconCl
4545
import { Promises, timeout } from 'vs/base/common/async';
4646
import { Event } from 'vs/base/common/event';
4747
import { IWorkbenchContribution } from 'vs/workbench/common/contributions';
48-
import { IStatusbarEntryAccessor, IStatusbarService, StatusbarAlignment, IStatusbarEntry } from 'vs/workbench/services/statusbar/common/statusbar';
48+
import { IStatusbarEntryAccessor, IStatusbarService, StatusbarAlignment, IStatusbarEntry } from 'vs/workbench/services/statusbar/browser/statusbar';
4949
import { IMarker, IMarkerService, MarkerSeverity, IMarkerData } from 'vs/platform/markers/common/markers';
5050
import { STATUS_BAR_PROMINENT_ITEM_BACKGROUND, STATUS_BAR_PROMINENT_ITEM_FOREGROUND } from 'vs/workbench/common/theme';
5151
import { themeColorFromId } from 'vs/platform/theme/common/themeService';

src/vs/workbench/browser/parts/notifications/notificationsStatus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import { INotificationsModel, INotificationChangeEvent, NotificationChangeType, IStatusMessageChangeEvent, StatusMessageChangeType, IStatusMessageViewItem } from 'vs/workbench/common/notifications';
7-
import { IStatusbarService, StatusbarAlignment, IStatusbarEntryAccessor, IStatusbarEntry } from 'vs/workbench/services/statusbar/common/statusbar';
7+
import { IStatusbarService, StatusbarAlignment, IStatusbarEntryAccessor, IStatusbarEntry } from 'vs/workbench/services/statusbar/browser/statusbar';
88
import { Disposable, IDisposable, dispose } from 'vs/base/common/lifecycle';
99
import { HIDE_NOTIFICATIONS_CENTER, SHOW_NOTIFICATIONS_CENTER } from 'vs/workbench/browser/parts/notifications/notificationsCommands';
1010
import { localize } from 'vs/nls';

src/vs/workbench/browser/parts/statusbar/statusbarActions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import { localize } from 'vs/nls';
7-
import { IStatusbarService } from 'vs/workbench/services/statusbar/common/statusbar';
7+
import { IStatusbarService } from 'vs/workbench/services/statusbar/browser/statusbar';
88
import { Action } from 'vs/base/common/actions';
99
import { Parts, IWorkbenchLayoutService } from 'vs/workbench/services/layout/browser/layoutService';
1010
import { KeyCode } from 'vs/base/common/keyCodes';

src/vs/workbench/browser/parts/statusbar/statusbarItem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { Disposable, MutableDisposable } from 'vs/base/common/lifecycle';
88
import { SimpleIconLabel } from 'vs/base/browser/ui/iconLabel/simpleIconLabel';
99
import { ICommandService } from 'vs/platform/commands/common/commands';
1010
import { ITelemetryService } from 'vs/platform/telemetry/common/telemetry';
11-
import { IStatusbarEntry, ShowTooltipCommand } from 'vs/workbench/services/statusbar/common/statusbar';
11+
import { IStatusbarEntry, ShowTooltipCommand } from 'vs/workbench/services/statusbar/browser/statusbar';
1212
import { WorkbenchActionExecutedEvent, WorkbenchActionExecutedClassification } from 'vs/base/common/actions';
1313
import { IThemeService } from 'vs/platform/theme/common/themeService';
1414
import { ThemeColor } from 'vs/base/common/themables';

src/vs/workbench/browser/parts/statusbar/statusbarModel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*--------------------------------------------------------------------------------------------*/
55

66
import { Disposable } from 'vs/base/common/lifecycle';
7-
import { isStatusbarEntryLocation, IStatusbarEntryPriority, StatusbarAlignment } from 'vs/workbench/services/statusbar/common/statusbar';
7+
import { isStatusbarEntryLocation, IStatusbarEntryPriority, StatusbarAlignment } from 'vs/workbench/services/statusbar/browser/statusbar';
88
import { hide, show, isAncestor } from 'vs/base/browser/dom';
99
import { IStorageService, StorageScope, IStorageValueChangeEvent, StorageTarget } from 'vs/platform/storage/common/storage';
1010
import { Emitter } from 'vs/base/common/event';

0 commit comments

Comments
 (0)