Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PreferencesContribution

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected Readonly clipboardService

clipboardService: ClipboardService

Protected Readonly editorManager

editorManager: EditorManager

Protected Readonly fileService

fileService: FileService

Protected Readonly options

Protected Readonly preferenceService

preferenceService: PreferenceService

Protected Readonly quickView

quickView: QuickViewService

Protected Readonly scopeTracker

scopeTracker: PreferencesWidget

Protected Readonly shell

Optional Readonly toggleCommand

toggleCommand: Command

Protected Readonly widgetManager

widgetManager: WidgetManager

Protected Readonly workspacePreferenceProvider

workspacePreferenceProvider: WorkspacePreferenceProvider

Accessors

defaultViewOptions

viewId

  • get viewId(): string

viewLabel

  • get viewLabel(): string

widget

Methods

closeView

Private obtainConfigUri

  • obtainConfigUri(serializedScope: number, activeScopeIsFolder: boolean, resource?: undefined | string): Promise<URI | undefined>

Protected openPreferencesJSON

openView

registerCommands

  • registerCommands(commands: CommandRegistry): void

registerKeybindings

registerMenus

  • registerMenus(menus: MenuModelRegistry): void

registerToolbarItems

toggleView

tryGetWidget

Protected withWidget

  • withWidget<T>(widget?: Widget | undefined, fn: (widget: PreferencesWidget) => T): T | false