Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/view/commentControllBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export abstract class CommentControllerBase extends Disposable {
}

return editor.edit(editBuilder => {
editBuilder.insert(new vscode.Position(0, 0), '@copilot');
editBuilder.insert(new vscode.Position(0, 0), '@copilot ');
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion webviews/components/comment.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ export function AddComment({
}
: commentMethods(isIssue);

const commentStartingText = pendingCommentText ?? (isCopilotOnMyBehalf ? '@copilot' : '');
const commentStartingText = pendingCommentText ?? (isCopilotOnMyBehalf ? '@copilot ' : '');

return (
<form id="comment-form" ref={form as React.MutableRefObject<HTMLFormElement>} className="comment-form main-comment-form" onSubmit={() => submit(textareaRef.current?.value ?? '')}>
Expand Down