Preparing search index...
The search index is not available
Theia TypeDoc
Theia TypeDoc
plugin-ext
CommentsService
Interface CommentsService
interface
CommentsService
{
onDidChangeActiveCommentThread
:
Event
<
null
|
CommentThread
>
;
onDidChangeActiveCommentingRange
:
Event
<
{
commentingRangesInfo
:
CommentingRanges
;
range
:
Range
;
}
>
;
onDidDeleteDataProvider
:
Event
<
string
>
;
onDidSetAllCommentThreads
:
Event
<
WorkspaceCommentThreadsEventMain
>
;
onDidSetDataProvider
:
Event
<
void
>
;
onDidSetResourceCommentInfos
:
Event
<
ResourceCommentThreadEvent
>
;
onDidUpdateCommentThreads
:
Event
<
CommentThreadChangedEventMain
>
;
createCommentThreadTemplate
(
owner
,
resource
,
range
)
:
void
;
disposeCommentThread
(
ownerId
,
threadId
)
:
void
;
getCommentController
(
owner
)
:
undefined
|
CommentController
;
getCommentingRanges
(
resource
)
:
Promise
<
Range
[]
>
;
getComments
(
resource
)
:
Promise
<
(
null
|
CommentInfoMain
)
[]
>
;
registerCommentController
(
owner
,
commentControl
)
:
void
;
removeWorkspaceComments
(
owner
)
:
void
;
setActiveCommentThread
(
commentThread
)
:
void
;
setDocumentComments
(
resource
,
commentInfos
)
:
void
;
setWorkspaceComments
(
owner
,
commentsByResource
)
:
void
;
unregisterCommentController
(
owner
)
:
void
;
updateCommentThreadTemplate
(
owner
,
threadHandle
,
range
)
:
Promise
<
void
>
;
updateComments
(
ownerId
,
event
)
:
void
;
}
Implemented by
PluginCommentService
Index
Properties
on
Did
Change
Active
Comment
Thread
on
Did
Change
Active
Commenting
Range
on
Did
Delete
Data
Provider
on
Did
Set
All
Comment
Threads
on
Did
Set
Data
Provider
on
Did
Set
Resource
Comment
Infos
on
Did
Update
Comment
Threads
Methods
create
Comment
Thread
Template
dispose
Comment
Thread
get
Comment
Controller
get
Commenting
Ranges
get
Comments
register
Comment
Controller
remove
Workspace
Comments
set
Active
Comment
Thread
set
Document
Comments
set
Workspace
Comments
unregister
Comment
Controller
update
Comment
Thread
Template
update
Comments
Properties
Readonly
on
Did
Change
Active
Comment
Thread
on
Did
Change
Active
Comment
Thread
:
Event
<
null
|
CommentThread
>
Readonly
on
Did
Change
Active
Commenting
Range
on
Did
Change
Active
Commenting
Range
:
Event
<
{
commentingRangesInfo
:
CommentingRanges
;
range
:
Range
;
}
>
Type declaration
commenting
Ranges
Info
:
CommentingRanges
range
:
Range
Readonly
on
Did
Delete
Data
Provider
on
Did
Delete
Data
Provider
:
Event
<
string
>
Readonly
on
Did
Set
All
Comment
Threads
on
Did
Set
All
Comment
Threads
:
Event
<
WorkspaceCommentThreadsEventMain
>
Readonly
on
Did
Set
Data
Provider
on
Did
Set
Data
Provider
:
Event
<
void
>
Readonly
on
Did
Set
Resource
Comment
Infos
on
Did
Set
Resource
Comment
Infos
:
Event
<
ResourceCommentThreadEvent
>
Readonly
on
Did
Update
Comment
Threads
on
Did
Update
Comment
Threads
:
Event
<
CommentThreadChangedEventMain
>
Methods
create
Comment
Thread
Template
create
Comment
Thread
Template
(
owner
,
resource
,
range
)
:
void
Parameters
owner
:
string
resource
:
URI
range
:
Range
Returns
void
dispose
Comment
Thread
dispose
Comment
Thread
(
ownerId
,
threadId
)
:
void
Parameters
ownerId
:
string
threadId
:
string
Returns
void
get
Comment
Controller
get
Comment
Controller
(
owner
)
:
undefined
|
CommentController
Parameters
owner
:
string
Returns
undefined
|
CommentController
get
Commenting
Ranges
get
Commenting
Ranges
(
resource
)
:
Promise
<
Range
[]
>
Parameters
resource
:
URI
Returns
Promise
<
Range
[]
>
get
Comments
get
Comments
(
resource
)
:
Promise
<
(
null
|
CommentInfoMain
)
[]
>
Parameters
resource
:
URI
Returns
Promise
<
(
null
|
CommentInfoMain
)
[]
>
register
Comment
Controller
register
Comment
Controller
(
owner
,
commentControl
)
:
void
Parameters
owner
:
string
commentControl
:
CommentController
Returns
void
remove
Workspace
Comments
remove
Workspace
Comments
(
owner
)
:
void
Parameters
owner
:
string
Returns
void
set
Active
Comment
Thread
set
Active
Comment
Thread
(
commentThread
)
:
void
Parameters
commentThread
:
null
|
CommentThread
Returns
void
set
Document
Comments
set
Document
Comments
(
resource
,
commentInfos
)
:
void
Parameters
resource
:
URI
commentInfos
:
CommentInfoMain
[]
Returns
void
set
Workspace
Comments
set
Workspace
Comments
(
owner
,
commentsByResource
)
:
void
Parameters
owner
:
string
commentsByResource
:
CommentThread
[]
Returns
void
unregister
Comment
Controller
unregister
Comment
Controller
(
owner
)
:
void
Parameters
owner
:
string
Returns
void
update
Comment
Thread
Template
update
Comment
Thread
Template
(
owner
,
threadHandle
,
range
)
:
Promise
<
void
>
Parameters
owner
:
string
threadHandle
:
number
range
:
Range
Returns
Promise
<
void
>
update
Comments
update
Comments
(
ownerId
,
event
)
:
void
Parameters
ownerId
:
string
event
:
CommentThreadChangedEvent
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
On This Page
on
Did
Change
Active
Comment
Thread
on
Did
Change
Active
Commenting
Range
on
Did
Delete
Data
Provider
on
Did
Set
All
Comment
Threads
on
Did
Set
Data
Provider
on
Did
Set
Resource
Comment
Infos
on
Did
Update
Comment
Threads
create
Comment
Thread
Template
dispose
Comment
Thread
get
Comment
Controller
get
Commenting
Ranges
get
Comments
register
Comment
Controller
remove
Workspace
Comments
set
Active
Comment
Thread
set
Document
Comments
set
Workspace
Comments
unregister
Comment
Controller
update
Comment
Thread
Template
update
Comments
Theia TypeDoc
Loading...