Skip to content

Improve tab titles for documents with same name

Waqar Ahmed requested to merge work/samedoc-tabs into master

Currently if you have files with same name for example:

src/CMakeLists.txt
addons/CMakeLists.txt

opened in Kate, they show up as:

CMakeLists.txt | CMakeLists.txt (1)

This is very unhelpful. We can do slightly better by appending the dir name of the document for every such doc making the above:

CMakeLists.txt | CMakeLists.txt - addons

The above isn't super perfect either, but it is more helpful than placing a number beside the doc name

Screenshot:

image

Merge request reports