Skip to content

Commit

Permalink
Remove unneeded export
Browse files Browse the repository at this point in the history
Part of #164933
  • Loading branch information
alexr00 committed Nov 1, 2022
1 parent fe689be commit 0ab36b3
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion src/vs/workbench/api/common/extHostComments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { ExtHostCommands } from './extHostCommands';

type ProviderHandle = number;

export interface ExtHostComments {
interface ExtHostComments {
createCommentController(extension: IExtensionDescription, id: string, label: string): vscode.CommentController;
}

Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/api/node/extHostTunnelService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function loadListeningPorts(...stdouts: string[]): { socket: number; ip:
];
}

export function parseIpAddress(hex: string): string {
function parseIpAddress(hex: string): string {
let result = '';
if (hex.length === 8) {
for (let i = hex.length - 2; i >= 0; i -= 2) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { IWorkbenchLayoutService } from 'vs/workbench/services/layout/browser/la

export const ICommentService = createDecorator<ICommentService>('commentService');

export interface IResourceCommentThreadEvent {
interface IResourceCommentThreadEvent {
resource: URI;
commentInfos: ICommentInfo[];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { ICellRange } from 'vs/workbench/contrib/notebook/common/notebookRange';
import { commentThreadStateBackgroundColorVar, commentThreadStateColorVar, getCommentThreadStateColor } from 'vs/workbench/contrib/comments/browser/commentColors';
import { peekViewBorder } from 'vs/editor/contrib/peekView/browser/peekView';

export function getCommentThreadWidgetStateColor(thread: languages.CommentThreadState | undefined, theme: IColorTheme): Color | undefined {
function getCommentThreadWidgetStateColor(thread: languages.CommentThreadState | undefined, theme: IColorTheme): Color | undefined {
return getCommentThreadStateColor(thread, theme) ?? theme.getColor(peekViewBorder);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ interface ICommentThreadTemplateData {
disposables: IDisposable[];
}

export class CommentsModelVirualDelegate implements IListVirtualDelegate<ResourceWithCommentThreads | CommentNode> {
class CommentsModelVirualDelegate implements IListVirtualDelegate<ResourceWithCommentThreads | CommentNode> {
private static readonly RESOURCE_ID = 'resource-with-comments';
private static readonly COMMENT_ID = 'comment-node';

Expand Down Expand Up @@ -269,7 +269,7 @@ interface CommentFilterData {
textMatches: IMatch[];
}

export type FilterData = ResourceFilterData | CommentFilterData;
type FilterData = ResourceFilterData | CommentFilterData;

export class Filter implements ITreeFilter<ResourceWithCommentThreads | CommentNode, FilterData> {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface CommentsFiltersChangeEvent {
showUnresolved?: boolean;
}

export interface CommentsFiltersOptions {
interface CommentsFiltersOptions {
showResolved: boolean;
showUnresolved: boolean;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { Action2, MenuId } from 'vs/platform/actions/common/actions';
import { ServicesAccessor } from 'vs/platform/instantiation/common/instantiation';
import { VIEWLET_ID } from 'vs/workbench/contrib/remote/browser/remoteExplorer';

export interface IRemoteSelectItem extends ISelectOptionItem {
interface IRemoteSelectItem extends ISelectOptionItem {
authority: string[];
}

Expand Down
4 changes: 2 additions & 2 deletions src/vs/workbench/contrib/remote/browser/remote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ import { ITimerService } from 'vs/workbench/services/timer/browser/timerService'
import { getRemoteName } from 'vs/platform/remote/common/remoteHosts';
import { IActionViewItem } from 'vs/base/browser/ui/actionbar/actionbar';

export interface HelpInformation {
interface HelpInformation {
extensionDescription: IExtensionDescription;
getStarted?: string;
documentation?: string;
Expand Down Expand Up @@ -457,7 +457,7 @@ class HelpPanelDescriptor implements IViewDescriptor {
}
}

export class RemoteViewPaneContainer extends FilterViewPaneContainer implements IViewModel {
class RemoteViewPaneContainer extends FilterViewPaneContainer implements IViewModel {
private helpPanelDescriptor = new HelpPanelDescriptor(this);
helpInformation: HelpInformation[] = [];
private hasSetSwitchForConnection: boolean = false;
Expand Down
8 changes: 4 additions & 4 deletions src/vs/workbench/contrib/remote/browser/tunnelView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class TunnelTreeVirtualDelegate implements ITableVirtualDelegate<ITunnelItem> {
}
}

export interface ITunnelViewModel {
interface ITunnelViewModel {
readonly onForwardedPortsChanged: Event<void>;
readonly all: TunnelItem[];
readonly input: TunnelItem;
Expand Down Expand Up @@ -728,8 +728,8 @@ class TunnelItem implements ITunnelItem {
}
}

export const TunnelTypeContextKey = new RawContextKey<TunnelType>('tunnelType', TunnelType.Add, true);
export const TunnelCloseableContextKey = new RawContextKey<boolean>('tunnelCloseable', false, true);
const TunnelTypeContextKey = new RawContextKey<TunnelType>('tunnelType', TunnelType.Add, true);
const TunnelCloseableContextKey = new RawContextKey<boolean>('tunnelCloseable', false, true);
const TunnelPrivacyContextKey = new RawContextKey<TunnelPrivacyId | string | undefined>('tunnelPrivacy', undefined, true);
const TunnelPrivacyEnabledContextKey = new RawContextKey<boolean>('tunnelPrivacyEnabled', false, true);
const TunnelProtocolContextKey = new RawContextKey<TunnelProtocol | undefined>('tunnelProtocol', TunnelProtocol.Http, true);
Expand Down Expand Up @@ -1778,7 +1778,7 @@ MenuRegistry.appendMenuItem(MenuId.TunnelLocalAddressInline, ({
isForwardedOrDetectedExpr)
}));

export const portWithRunningProcessForeground = registerColor('ports.iconRunningProcessForeground', {
const portWithRunningProcessForeground = registerColor('ports.iconRunningProcessForeground', {
light: STATUS_BAR_HOST_NAME_BACKGROUND,
dark: STATUS_BAR_HOST_NAME_BACKGROUND,
hcDark: STATUS_BAR_HOST_NAME_BACKGROUND,
Expand Down

0 comments on commit 0ab36b3

Please sign in to comment.