Protected_Protected ReadonlydiffProtected ReadonlyeditorProtected ReadonlyfactoriesProtected ReadonlyfileProtected ReadonlykeybindingProtected Readonlym2pProtected ReadonlyopenerProtected Readonlyp2mProtectedsaveProtected ReadonlysaveProtected ReadonlyservicesProtected ReadonlyworkspaceStaticinlineProtecteddiffProtectedpreferenceProtectedcreateOptionaloptions: MonacoDiffEditor.IOptionsCreates an instance of the standard MonacoEditor with a StandaloneCodeEditor as its Monaco delegate. Among other differences, these editors execute basic actions like typing or deletion via commands that may be overridden by extensions.
Optionaloptions: MonacoEditor.IOptionsProtectedcreateProtectedcreateProtectedcreateProtectedcreateCreates 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.
Optionaloptions: MonacoEditor.IOptionsOptionalwidgetOptions: ICodeEditorWidgetOptionsProtecteddoProtecteddoProtectedformatProtectedgetProtectedinjectProtectedinsertProtectedinterceptIntercept internal Monaco open calls and delegate to OpenerService.
OptionalmonacoOptions: OpenInternalOptions | OpenExternalOptionsOptionaloptions: SaveOptionsProtectedsetProtectedshouldProtectedtoProtectedupdateOptionalevent: EditorPreferenceChangeOptionalresourceUri: stringProtectedupdateOptionalevent: EditorPreferenceChangeProtectedupdate
Returns the last focused MonacoEditor. It takes into account inline editors as well. If you are interested only in standalone editors then use
MonacoEditor.getCurrent(EditorManager)