GitLab tree selector

Select current file name in the MR tree

Autor
rafalswierczek
Dnevne instalacije
0
Ukupnih instalacija
1
Ocjene
0 0 0
Verzija
2025-03-05
Stvoreno
05.03.2025.
Ažurirano
05.03.2025.
Size
3,05 KB
Licenza
MIT
Primjenjuje se

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).

长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元