Skip to content

Center referenced line on merge request line comments

Description

(Include problem, use cases, benefits, and/or goals)

When commenting on code in merge requests it seems the snippet shown would be more useful if the referenced line was in the center of the code block instead of the end of the code block.

Screen_Shot_2016-10-22_at_10.11.40_PM

Proposal

Include three more lines after comment:

Screen_Shot_2016-11-02_at_11.07.03_AM


Original Proposal

Have the line that was commented on be in the center of the code block.

Screen_Shot_2016-10-22_at_10.13.50_PM

Edited by 🤖 GitLab Bot 🤖