GitSniff LogoGitSniffDocs
FeaturesCode Review

Inline Comments

Configure how GitSniff posts review comments on your pull requests.

GitSniff posts comments directly on the relevant lines of code in your pull requests. You can configure the style of these comments to match your team's preferences.

Comment styles

GitSniff supports three inline comment styles:

Individual comments

Each finding gets its own separate comment on the relevant line. This is the most granular option and works well for detailed code review.

Best for: Small to medium PRs where you want detailed, line-by-line feedback.

Long summary

All findings are grouped into a single, detailed review comment posted on the PR. The summary includes all issues organized by category with references to specific lines.

Best for: Large PRs where individual comments might be overwhelming.

Short summary

A concise summary of the key findings posted as a single comment. Focuses on the most important issues and recommendations.

Best for: Teams that prefer high-level overviews rather than detailed line-by-line feedback.

Configuration

You can set the comment style at both the organization and repository level:

  • Organization level: Dashboard > Settings > Inline Comment Style
  • Repository level: Dashboard > Repository > Settings > Inline Comment Style

Repository settings override organization defaults.

Enabling/disabling inline comments

Inline comments can be toggled independently from the PR summary. If you only want the summary without inline comments, disable inline comments in your settings while keeping PR summaries enabled.