Skip to content

"Enter line number" shortcut (CTRL+L / CMD+L) in visual code editor collides with browser native CTRL/CMD+L for address bar

Summary

Steps to reproduce

  1. Go to https://gitlab.com/GROUP/PROJECT/edit/master/README.md.
  2. Focus the editor.
  3. Hit CTRL/CMD+L.
  4. See: image

What is the expected correct behavior?

CTRL/CMD+L should do the standard action, that is, go to address bar. GitLab should not override it.

Please use CTRL/CMD+G which is a common shortcut for "go to line" across many tools: Notepad++, IntelliJ, NetBeans, CodeMirror and more. See https://defkey.com/what-means/ctrl-g, section Text Editor.

Mentions and labels

gitlab-ce4107755 gitlab-ce2024184 gitlab-ce~3412464

@markglenfletcher

Edited by Damian Nowak
OSZAR »