Search
Preparing search index...
The search index is not available
Theia TypeDoc
Options
All
Public
Public/Protected
All
Inherited
Menu
Theia TypeDoc
plugin-ext
DocumentsMainImpl
Class DocumentsMainImpl
Hierarchy
DocumentsMainImpl
Implements
DocumentsMain
Disposable
Index
Constructors
constructor
Properties
model
Reference
Cache
proxy
save
Timeout
synced
Models
to
Dispose
Methods
$try
Close
Document
$try
Create
Document
$try
Open
Document
$try
Save
Document
$try
Show
Document
dispose
on
Model
Added
on
Model
Changed
on
Model
Removed
to
Editor
Opener
Options
Constructors
constructor
new
Documents
Main
Impl
(
editorsAndDocuments
:
EditorsAndDocumentsMain
, modelService
:
EditorModelService
, rpc
:
RPCProtocol
, editorManager
:
EditorManager
, openerService
:
OpenerService
, shell
:
ApplicationShell
, untitledResourceResolver
:
UntitledResourceResolver
, languageService
:
MonacoLanguages
)
:
DocumentsMainImpl
Parameters
editorsAndDocuments:
EditorsAndDocumentsMain
modelService:
EditorModelService
rpc:
RPCProtocol
editorManager:
EditorManager
openerService:
OpenerService
shell:
ApplicationShell
untitledResourceResolver:
UntitledResourceResolver
languageService:
MonacoLanguages
Returns
DocumentsMainImpl
Properties
Private
Readonly
model
Reference
Cache
model
Reference
Cache
:
ModelReferenceCollection
= ...
Private
Readonly
proxy
proxy
:
DocumentsExt
Protected
save
Timeout
save
Timeout
:
number
= 1750
Private
Readonly
synced
Models
synced
Models
:
Map
<
string
,
Disposable
>
= ...
Private
Readonly
to
Dispose
to
Dispose
:
DisposableCollection
= ...
Methods
$try
Close
Document
$try
Close
Document
(
uri
:
UriComponents
)
:
Promise
<
boolean
>
Parameters
uri:
UriComponents
Returns
Promise
<
boolean
>
$try
Create
Document
$try
Create
Document
(
options
?:
{
content
?:
string
;
language
?:
string
}
)
:
Promise
<
UriComponents
>
Parameters
Optional
options:
{
content
?:
string
;
language
?:
string
}
Optional
content
?:
string
Optional
language
?:
string
Returns
Promise
<
UriComponents
>
$try
Open
Document
$try
Open
Document
(
uri
:
UriComponents
)
:
Promise
<
boolean
>
Parameters
uri:
UriComponents
Returns
Promise
<
boolean
>
$try
Save
Document
$try
Save
Document
(
uri
:
UriComponents
)
:
Promise
<
boolean
>
Parameters
uri:
UriComponents
Returns
Promise
<
boolean
>
$try
Show
Document
$try
Show
Document
(
uri
:
UriComponents
, options
?:
TextDocumentShowOptions
)
:
Promise
<
void
>
Parameters
uri:
UriComponents
Optional
options:
TextDocumentShowOptions
Returns
Promise
<
void
>
dispose
dispose
(
)
:
void
Returns
void
Private
on
Model
Added
on
Model
Added
(
model
:
MonacoEditorModel
)
:
void
Parameters
model:
MonacoEditorModel
Returns
void
Private
on
Model
Changed
on
Model
Changed
(
event
:
{
model
:
MonacoEditorModel
;
oldModeId
:
string
}
)
:
void
Parameters
event:
{
model
:
MonacoEditorModel
;
oldModeId
:
string
}
model
:
MonacoEditorModel
old
Mode
Id
:
string
Returns
void
Private
on
Model
Removed
on
Model
Removed
(
url
:
Uri
)
:
void
Parameters
url:
Uri
Returns
void
Static
to
Editor
Opener
Options
to
Editor
Opener
Options
(
shell
:
ApplicationShell
, options
?:
TextDocumentShowOptions
)
:
undefined
|
EditorOpenerOptions
Parameters
shell:
ApplicationShell
Optional
options:
TextDocumentShowOptions
Returns
undefined
|
EditorOpenerOptions
Modules
bulk-
edit
callhierarchy
console
core
debug
editor
editor-
preview
electron
external-
terminal
file-
search
filesystem
getting-
started
git
keymaps
markers
memory-
inspector
messages
metrics
mini-
browser
monaco
navigator
outline-
view
output
plugin
plugin-
dev
plugin-
ext
Comments
Command
Arg
Comments
Context
Command
Arg
Comments
Edit
Command
Arg
Composite
Tree
View
Node
Connection
Closed
Error
Custom
Editor
Widget
Data
Transfer
Data
Transfer
Data
Transfer
Item
Data
Transfer
Item
Debug
Adapter
Executable
Debug
Adapter
Inline
Implementation
Debug
Adapter
Named
Pipe
Server
Debug
Adapter
Server
Decoration
Range
Behavior
Decoration
Render
Options
Document
Link
Inlay
Hint
Kind
Known
Commands
Notification
Main
Object
Identifier
Parameter
Information
Plugin
Contributions
Plugin
Icon
Path
Plugin
Identifiers
Plugin
Package
Plugin
Paths
Plugin
View
Registry
Plugin
View
Widget
Process
Terminate
Message
Process
Terminated
Message
Schemes
Scm
Command
Arg
Selection
Provider
Commands
Signature
Help
Signature
Information
Symbol
Kind
Symbol
Kind
Converter
Text
Document
Show
Options
Text
Editor
Selection
Change
Kind
Themable
Decoration
Attachment
Render
Options
Themable
Decoration
Render
Options
Theme
Icon
Timeline
Command
Arg
Tree
View
Item
Reference
Tree
View
Node
View
Column
Webview
External
Endpoint
Webview
Widget
Workspace
Text
Edit
Dto
plugin-
ext-
vscode
plugin-
metrics
preferences
preview
process
property-
view
scm
scm-
extra
search-
in-
workspace
secondary-
window
task
terminal
timeline
toolbar
typehierarchy
userstorage
variable-
resolver
vsx-
registry
workspace
Documents
Main
Impl
constructor
model
Reference
Cache
proxy
save
Timeout
synced
Models
to
Dispose
$try
Close
Document
$try
Create
Document
$try
Open
Document
$try
Save
Document
$try
Show
Document
dispose
on
Model
Added
on
Model
Changed
on
Model
Removed
to
Editor
Opener
Options