Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MonacoEditorService

Hierarchy

  • StandaloneCodeEditorService
    • MonacoEditorService

Index

Constructors

Properties

editors: EditorManager
openerService: OpenerService
preferencesService: PreferenceService
shell: ApplicationShell
ENABLE_PREVIEW_PREFERENCE: string = 'editor.enablePreview'

Methods

  • createEditorOpenerOptions(input: IResourceEditorInput | ITextResourceEditorInput, source: null | ICodeEditor, sideBySide?: boolean): EditorOpenerOptions
  • findEditorWidgetByUri(widget: undefined | object, uriAsString: string): Promise<undefined | EditorWidget>
  • getActiveCodeEditor(): null | StandaloneCodeEditor
  • getEditorOpenMode(input: IResourceEditorInput): WidgetOpenMode
  • getSelection(input: IResourceEditorInput | ITextResourceEditorInput): undefined | RecursivePartial<Range>
  • getWidgetOptions(source: null | ICodeEditor, sideBySide?: boolean): undefined | WidgetOptions
  • openCodeEditor(input: IResourceEditorInput, source: null | ICodeEditor, sideBySide?: boolean): Promise<null | ICodeEditor>