Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MonacoEditorProvider

Hierarchy

  • MonacoEditorProvider

Index

Constructors

Properties

_current: undefined | MonacoEditor
applicationServer: ApplicationServer
bulkEditService: MonacoBulkEditService
codeEditorService: MonacoEditorService
commandServiceFactory: MonacoCommandServiceFactory
contextKeyService: ContextKeyService
contextMenuService: MonacoContextMenuService
diffNavigatorFactory: MonacoDiffNavigatorFactory
editorPreferences: EditorPreferences
factories: ContributionProvider<MonacoEditorFactory>
filePreferences: FileSystemPreferences
keybindingRegistry: KeybindingRegistry
openerService: OpenerService
textModelService: MonacoTextModelService
workspace: MonacoWorkspace
inlineOptions: IEditorConstructionOptions = ...

Accessors

  • get diffPreferencePrefixes(): string[]
  • get preferencePrefixes(): string[]

Methods

  • createOptions(prefixes: string[], uri: string): Record<string, any>
  • createOptions(prefixes: string[], uri: string, overrideIdentifier: string): Record<string, any>
  • doSetOption(obj: Record<string, any>, value: any, names: string[]): void
  • getDiffNavigator(editor: TextEditor): DiffNavigator
  • interceptOpen(monacoUri: string | Uri, monacoOptions?: OpenInternalOptions | OpenExternalOptions): Promise<boolean>
  • setOption(preferenceName: string, value: any, prefixes: string[], options?: Record<string, any>): {}
  • toOptionName(preferenceName: string, prefixes: string[]): string
  • updateMonacoDiffEditorOptions(editor: MonacoDiffEditor, event?: EditorPreferenceChange, resourceUri?: string): void
  • updateMonacoEditorOptions(editor: MonacoEditor, event?: EditorPreferenceChange): void