mirror of
https://github.com/Microsoft/vscode
synced 2024-10-30 21:06:57 +00:00
parent
1aaf61f6b9
commit
5440af45a4
4 changed files with 8 additions and 8 deletions
|
@ -37,7 +37,7 @@ type IResolvedHoverContent = IMarkdownString | string | HTMLElement | undefined;
|
|||
* Copied from src\vs\workbench\services\hover\browser\hover.ts
|
||||
* @deprecated Use IHoverService
|
||||
*/
|
||||
export interface IHoverAction {
|
||||
interface IHoverAction {
|
||||
label: string;
|
||||
commandId: string;
|
||||
iconClass?: string;
|
||||
|
|
|
@ -42,7 +42,7 @@ class GrammarContributions implements IGrammarContributions {
|
|||
}
|
||||
}
|
||||
|
||||
export interface IEmmetActionOptions extends IActionOptions {
|
||||
interface IEmmetActionOptions extends IActionOptions {
|
||||
actionName: string;
|
||||
}
|
||||
|
||||
|
|
|
@ -1119,7 +1119,7 @@ export class SettingComplexRenderer extends AbstractSettingRenderer implements I
|
|||
}
|
||||
}
|
||||
|
||||
export class SettingArrayRenderer extends AbstractSettingRenderer implements ITreeRenderer<SettingsTreeSettingElement, never, ISettingListItemTemplate> {
|
||||
class SettingArrayRenderer extends AbstractSettingRenderer implements ITreeRenderer<SettingsTreeSettingElement, never, ISettingListItemTemplate> {
|
||||
templateId = SETTINGS_ARRAY_TEMPLATE_ID;
|
||||
|
||||
renderTemplate(container: HTMLElement): ISettingListItemTemplate {
|
||||
|
@ -1335,7 +1335,7 @@ abstract class AbstractSettingObjectRenderer extends AbstractSettingRenderer imp
|
|||
}
|
||||
}
|
||||
|
||||
export class SettingObjectRenderer extends AbstractSettingObjectRenderer implements ITreeRenderer<SettingsTreeSettingElement, never, ISettingObjectItemTemplate> {
|
||||
class SettingObjectRenderer extends AbstractSettingObjectRenderer implements ITreeRenderer<SettingsTreeSettingElement, never, ISettingObjectItemTemplate> {
|
||||
override templateId = SETTINGS_OBJECT_TEMPLATE_ID;
|
||||
|
||||
renderTemplate(container: HTMLElement): ISettingObjectItemTemplate {
|
||||
|
@ -1380,7 +1380,7 @@ export class SettingObjectRenderer extends AbstractSettingObjectRenderer impleme
|
|||
}
|
||||
}
|
||||
|
||||
export class SettingBoolObjectRenderer extends AbstractSettingObjectRenderer implements ITreeRenderer<SettingsTreeSettingElement, never, ISettingObjectItemTemplate> {
|
||||
class SettingBoolObjectRenderer extends AbstractSettingObjectRenderer implements ITreeRenderer<SettingsTreeSettingElement, never, ISettingObjectItemTemplate> {
|
||||
override templateId = SETTINGS_BOOL_OBJECT_TEMPLATE_ID;
|
||||
|
||||
renderTemplate(container: HTMLElement): ISettingObjectItemTemplate {
|
||||
|
@ -1550,7 +1550,7 @@ abstract class AbstractSettingTextRenderer extends AbstractSettingRenderer imple
|
|||
}
|
||||
}
|
||||
|
||||
export class SettingTextRenderer extends AbstractSettingTextRenderer implements ITreeRenderer<SettingsTreeSettingElement, never, ISettingTextItemTemplate> {
|
||||
class SettingTextRenderer extends AbstractSettingTextRenderer implements ITreeRenderer<SettingsTreeSettingElement, never, ISettingTextItemTemplate> {
|
||||
templateId = SETTINGS_TEXT_TEMPLATE_ID;
|
||||
|
||||
override renderTemplate(_container: HTMLElement): ISettingTextItemTemplate {
|
||||
|
@ -1568,7 +1568,7 @@ export class SettingTextRenderer extends AbstractSettingTextRenderer implements
|
|||
}
|
||||
}
|
||||
|
||||
export class SettingMultilineTextRenderer extends AbstractSettingTextRenderer implements ITreeRenderer<SettingsTreeSettingElement, never, ISettingTextItemTemplate> {
|
||||
class SettingMultilineTextRenderer extends AbstractSettingTextRenderer implements ITreeRenderer<SettingsTreeSettingElement, never, ISettingTextItemTemplate> {
|
||||
templateId = SETTINGS_MULTILINE_TEXT_TEMPLATE_ID;
|
||||
|
||||
override renderTemplate(_container: HTMLElement): ISettingTextItemTemplate {
|
||||
|
|
|
@ -56,7 +56,7 @@ export function positionFromString(str: string): Position {
|
|||
return positionsByString[str];
|
||||
}
|
||||
|
||||
export function panelOpensMaximizedSettingToString(setting: PanelOpensMaximizedOptions): string {
|
||||
function panelOpensMaximizedSettingToString(setting: PanelOpensMaximizedOptions): string {
|
||||
switch (setting) {
|
||||
case PanelOpensMaximizedOptions.ALWAYS: return 'always';
|
||||
case PanelOpensMaximizedOptions.NEVER: return 'never';
|
||||
|
|
Loading…
Reference in a new issue