Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 4fa0ceb

Browse files
committed
Only enable comment tagger on diff views
1 parent 90513f3 commit 4fa0ceb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/GitHub.InlineReviews/Tags/InlineCommentTaggerProvider.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ namespace GitHub.InlineReviews.Tags
1616
[Export(typeof(IViewTaggerProvider))]
1717
[ContentType("text")]
1818
[TagType(typeof(ShowInlineCommentTag))]
19+
[TextViewRole("LEFTDIFF")]
20+
[TextViewRole("RIGHTDIFF")]
21+
[TextViewRole("INLINEDIFF")]
1922
class InlineCommentTaggerProvider : IViewTaggerProvider
2023
{
2124
readonly IPullRequestSessionManager sessionManager;

0 commit comments

Comments
 (0)