[go: up one dir, main page]

Skip to content

Support snippet multi-line anchor highlighting

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

Problem to solve

It's not currently possible to select multiple lines within a snippet to highlight and anchor against. When Shift-Clicking the secondary line a new window is opened instead.

Intended users

User experience goal

  • Ability to reference a range of code within a file.
  • Consistent experience across the gitlab product

Example from gitlab-org/gitlab multi-line highlighting

Screen_Shot_2021-03-08_at_7.56.19_AM

Proposal

Bind Shift-Click to selecting a line range rather than opening a new window

Documentation

TODO: Do we document these kind of interactions?

Availability & Testing

TODO

Available Tier

~"GitLab Core"

What does success look like, and how can we measure that?

See UX goal

What is the type of buyer?

~"GitLab Core"

Links / references

Edited by 🤖 GitLab Bot 🤖