Skip to content

Provide option for rendering whitespace in merge request / diff file browser

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

Option to render whitespace in the file browser for merge requests and diffs

Problem to solve

I'd like to have whitespace rendered when I'm giving code reviews, so I can see issues like trailing whitespace. Looks like as a workaround I can open the diff in the Web IDE, and have whitespace rendering enabled there. But ideally this would be in the browser, where I'm navigating the review files and adding comments.

Intended users

Developers, Code Reviewers

User experience goal

The user should be able to turn on / off rendering of whitespace in the file browser for merge requests / diffs

Proposal

Add option for users to enable rendering of whitespace, leave turned off by default.

Links / references

Edited by 🤖 GitLab Bot 🤖