GitLab tree selector

Select current file name in the MR tree

作者
rafalswierczek
今日安裝
0
安裝總數
1
評價
0 0 0
版本
2025-03-05
建立日期
2025-03-05
更新日期
2025-03-05
尺寸
3.0 KB
授權條款
MIT
腳本執行於

Tampermonkey script for GitLab that will make a currently displayed file selected in the file tree.

Tech notes:

You can have 2 selected files in the tree at the same time:
1. active file (after clicking on the file in the tree)
2. the actual file that is visible on the screen in the center

This is because of how GitLab handles active files. It can be fixed by scrolling down a bit after clicking on the file in the tree. After that you will have active file in the center instead of top which could be confusing (advantage of this is obviously having only 1 selected file at a time).

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址