New comment actions.

This commit is contained in:
Peng Lyu
2018-04-09 17:27:25 -07:00
parent f354e9bdb9
commit 5dd148f919
8 changed files with 104 additions and 17 deletions

View File

@@ -65,6 +65,7 @@ export class ExtHostComments implements ExtHostCommentsShape {
function convertCommentThread(vscodeCommentThread: vscode.CommentThread): modes.CommentThread {
return {
range: extHostTypeConverter.fromRange(vscodeCommentThread.range),
newCommentRange: extHostTypeConverter.fromRange(vscodeCommentThread.newCommentRange),
comments: vscodeCommentThread.comments.map(convertComment)
};
}