Theia API Documentation v1.65.0
    Preparing search index...
    Index

    Constructors

    Properties

    _current: undefined | MonacoEditor
    diffNavigatorFactory: MonacoDiffNavigatorFactory
    editorPreferences: EditorPreferences
    filePreferences: FileSystemPreferences
    keybindingRegistry: KeybindingRegistry
    openerService: OpenerService
    saveParticipants: SaveParticipant[]
    saveProviderContributions: ContributionProvider<SaveParticipant>
    workspace: MonacoWorkspace
    inlineOptions: IEditorConstructionOptions = ...

    Accessors

    Methods

    • Parameters

      • prefixes: string[]
      • uri: string

      Returns Record<string, any>

      always pass a language as an overrideIdentifier

    • Parameters

      • prefixes: string[]
      • uri: string
      • overrideIdentifier: string

      Returns Record<string, any>

      always pass a language as an overrideIdentifier

    • Creates an instance of the standard MonacoEditor with a CodeEditorWidget as its Monaco delegate. In addition to the service customizability of the StandaloneCodeEditor,This editor allows greater customization the editor contributions active in the widget. See ICodeEditorWidgetOptions.contributions.

      Parameters

      Returns Promise<SimpleMonacoEditor>

    • Intercept internal Monaco open calls and delegate to OpenerService.

      Parameters

      • monacoUri: string | Uri
      • OptionalmonacoOptions: OpenInternalOptions | OpenExternalOptions

      Returns Promise<boolean>

    • Parameters

      • preferenceName: string
      • value: any
      • prefixes: string[]
      • options: Record<string, any> = {}

      Returns { [name: string]: any }