Search
Preparing search index...
The search index is not available
Theia TypeDoc
Options
All
Public
Public/Protected
All
Inherited
Menu
Theia TypeDoc
plugin-ext
UntitledResource
Class UntitledResource
Hierarchy
UntitledResource
Implements
Resource
Index
Constructors
constructor
Properties
file
Resource
on
Did
Change
Contents
on
Did
Change
Contents
Emitter
uri
Accessors
encoding
version
Methods
dispose
fire
Did
Change
Contents
guess
Encoding
read
Contents
save
Content
Changes
save
Contents
Constructors
constructor
new
Untitled
Resource
(
resources
:
Map
<
string
,
UntitledResource
>
, uri
:
default
, fileResourceResolver
:
FileResourceResolver
, content
?:
string
)
:
UntitledResource
Parameters
resources:
Map
<
string
,
UntitledResource
>
uri:
default
fileResourceResolver:
FileResourceResolver
Optional
content:
string
Returns
UntitledResource
Properties
Private
Optional
file
Resource
file
Resource
:
FileResource
Readonly
on
Did
Change
Contents
on
Did
Change
Contents
:
Event
<
void
>
= ...
Protected
Readonly
on
Did
Change
Contents
Emitter
on
Did
Change
Contents
Emitter
:
Emitter
<
void
>
= ...
uri
uri
:
default
Accessors
encoding
get
encoding
(
)
:
undefined
|
string
Returns
undefined
|
string
version
get
version
(
)
:
undefined
|
ResourceVersion
Returns
undefined
|
ResourceVersion
Methods
dispose
dispose
(
)
:
void
Returns
void
Protected
fire
Did
Change
Contents
fire
Did
Change
Contents
(
)
:
void
Returns
void
guess
Encoding
guess
Encoding
(
)
:
Promise
<
undefined
|
string
>
Returns
Promise
<
undefined
|
string
>
read
Contents
read
Contents
(
options
?:
{
encoding
?:
string
}
)
:
Promise
<
string
>
Parameters
Optional
options:
{
encoding
?:
string
}
Optional
encoding
?:
string
Returns
Promise
<
string
>
save
Content
Changes
save
Content
Changes
(
changes
:
TextDocumentContentChangeEvent
[]
, options
?:
ResourceSaveOptions
)
:
Promise
<
void
>
Parameters
changes:
TextDocumentContentChangeEvent
[]
Optional
options:
ResourceSaveOptions
Returns
Promise
<
void
>
save
Contents
save
Contents
(
content
:
string
, options
?:
{
encoding
?:
string
;
overwriteEncoding
?:
boolean
}
)
:
Promise
<
void
>
Parameters
content:
string
Optional
options:
{
encoding
?:
string
;
overwriteEncoding
?:
boolean
}
Optional
encoding
?:
string
Optional
overwrite
Encoding
?:
boolean
Returns
Promise
<
void
>
Exports
plugin-
ext
Comments
Command
Arg
Comments
Context
Command
Arg
Comments
Edit
Command
Arg
Composite
Tree
View
Node
Connection
Closed
Error
Custom
Editor
Widget
Debug
Adapter
Executable
Debug
Adapter
Inline
Implementation
Debug
Adapter
Named
Pipe
Server
Debug
Adapter
Server
Decoration
Range
Behavior
Decoration
Render
Options
Document
Link
Known
Commands
Notification
Main
Object
Identifier
Objects
Transferrer
Parameter
Information
Plugin
Contributions
Plugin
Icon
Path
Plugin
Package
Plugin
Paths
Plugin
View
Registry
Plugin
View
Widget
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
Node
Tree
View
Selection
Webview
External
Endpoint
Webview
Widget
Workspace
Text
Edit
Dto
Untitled
Resource
constructor
file
Resource
on
Did
Change
Contents
on
Did
Change
Contents
Emitter
uri
encoding
version
dispose
fire
Did
Change
Contents
guess
Encoding
read
Contents
save
Content
Changes
save
Contents