Skip to content

Add tab size option to code review#685

Merged
backnotprop merged 1 commit intobacknotprop:mainfrom
skripalschikov:feat/diff-tab-size
May 8, 2026
Merged

Add tab size option to code review#685
backnotprop merged 1 commit intobacknotprop:mainfrom
skripalschikov:feat/diff-tab-size

Conversation

@skripalschikov
Copy link
Copy Markdown
Contributor

When reviewing code, indentation in the diff viewer was hard-coded to 2 spaces, which is too narrow for files that use tabs (Go, Makefiles, deeply nested code). Reviewers had no way to change it.

This PR adds a "Tab size" control to the diff options popover, letting each reviewer pick a width from 1 to 8. The choice persists across sessions and is applied to the diff viewer immediately — no reload needed.

Default stays at 2, so nothing changes for users who don't touch it.

image

@backnotprop
Copy link
Copy Markdown
Owner

Awesome

@backnotprop backnotprop merged commit 7329efb into backnotprop:main May 8, 2026
10 checks passed
@skripalschikov skripalschikov deleted the feat/diff-tab-size branch May 8, 2026 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants