Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • MonacoWorkspace

Index

Constructors

Properties

editorManager: EditorManager
editorPreferences: EditorPreferences
filePreferences: FileSystemPreferences
fileService: FileService
onDidChangeTextDocument: Event<MonacoModelContentChangedEvent> = ...
onDidChangeTextDocumentEmitter: Emitter<MonacoModelContentChangedEvent> = ...
onDidCloseTextDocument: Event<MonacoEditorModel> = ...
onDidCloseTextDocumentEmitter: Emitter<MonacoEditorModel> = ...
onDidOpenTextDocument: Event<MonacoEditorModel> = ...
onDidOpenTextDocumentEmitter: Emitter<MonacoEditorModel> = ...
onDidSaveTextDocument: Event<MonacoEditorModel> = ...
onDidSaveTextDocumentEmitter: Emitter<MonacoEditorModel> = ...
onWillSaveTextDocument: Event<WillSaveMonacoModelEvent> = ...
onWillSaveTextDocumentEmitter: Emitter<WillSaveMonacoModelEvent> = ...
problems: ProblemManager
ready: Promise<void> = ...
resolveReady: (() => void)

Type declaration

    • (): void
    • Returns void

suppressedOpenIfDirty: MonacoEditorModel[] = []
textModelService: MonacoTextModelService

Accessors

Methods

  • applyBackgroundEdit(model: MonacoEditorModel, editOperations: IIdentifiedSingleEditOperation[], shouldSave?: boolean): Promise<void>
  • applyBulkEdit(edits: ResourceEdit[], options?: IBulkEditOptions): Promise<IBulkEditResult & { success: boolean }>
  • getAriaSummary(totalEdits: number, totalFiles: number): string
  • init(): void
  • performFileEdits(edits: ResourceFileEdit[]): Promise<void>
  • performSnippetEdits(edits: ResourceTextEdit[]): Promise<void>
  • performTextEdits(edits: ResourceTextEdit[]): Promise<{ totalEdits: number; totalFiles: number }>
  • saveAll(resources: Set<string>): Promise<void>
  • suppressOpenIfDirty(model: MonacoEditorModel, cb: (() => MaybePromise<void>)): Promise<void>
  • transformSnippetStringToInsertText(resourceEdit: ResourceTextEdit): TextEdit & { insertAsSnippet?: boolean }