Theia API Documentation v1.65.0
Eclipse Theia Website
GitHub
Preparing search index...
@theia/plugin-ext
plugin/comments
CommentsExtImpl
Class CommentsExtImpl
Implements
CommentsExt
Index
Constructors
constructor
Properties
_
documents
commands
rpc
Methods
$create
Comment
Thread
Template
$delete
Comment
Thread
$provide
Commenting
Ranges
$update
Comment
Thread
Template
create
Comment
Controller
Constructors
constructor
new
CommentsExtImpl
(
rpc
:
RPCProtocol
,
commands
:
CommandRegistryImpl
,
_documents
:
DocumentsExtImpl
,
)
:
CommentsExtImpl
Parameters
rpc
:
RPCProtocol
commands
:
CommandRegistryImpl
_documents
:
DocumentsExtImpl
Returns
CommentsExtImpl
Properties
Readonly
_
documents
_documents
:
DocumentsExtImpl
Readonly
commands
commands
:
CommandRegistryImpl
Readonly
rpc
rpc
:
RPCProtocol
Methods
$create
Comment
Thread
Template
$createCommentThreadTemplate
(
commentControllerHandle
:
number
,
uriComponents
:
UriComponents
,
range
:
Range
,
)
:
void
Parameters
commentControllerHandle
:
number
uriComponents
:
UriComponents
range
:
Range
Returns
void
$delete
Comment
Thread
$deleteCommentThread
(
commentControllerHandle
:
number
,
commentThreadHandle
:
number
,
)
:
Promise
<
void
>
Parameters
commentControllerHandle
:
number
commentThreadHandle
:
number
Returns
Promise
<
void
>
$provide
Commenting
Ranges
$provideCommentingRanges
(
commentControllerHandle
:
number
,
uriComponents
:
UriComponents
,
token
:
CancellationToken
,
)
:
Promise
<
undefined
|
{
fileComments
:
boolean
;
ranges
:
Range
[]
}
>
Parameters
commentControllerHandle
:
number
uriComponents
:
UriComponents
token
:
CancellationToken
Returns
Promise
<
undefined
|
{
fileComments
:
boolean
;
ranges
:
Range
[]
}
>
$update
Comment
Thread
Template
$updateCommentThreadTemplate
(
commentControllerHandle
:
number
,
threadHandle
:
number
,
range
:
Range
,
)
:
Promise
<
void
>
Parameters
commentControllerHandle
:
number
threadHandle
:
number
range
:
Range
Returns
Promise
<
void
>
create
Comment
Controller
createCommentController
(
plugin
:
Plugin
,
id
:
string
,
label
:
string
,
)
:
CommentController
Parameters
plugin
:
Plugin
id
:
string
label
:
string
Returns
CommentController
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_
documents
commands
rpc
Methods
$create
Comment
Thread
Template
$delete
Comment
Thread
$provide
Commenting
Ranges
$update
Comment
Thread
Template
create
Comment
Controller
Eclipse Theia Website
GitHub
Theia API Documentation v1.65.0
Loading...