diffuse icon indicating copy to clipboard operation
diffuse copied to clipboard

Option to hide/truncate file path in header

Open blackboxlogic opened this issue 3 years ago • 3 comments

First, this tool is awesome. Thank you for making/maintaining it.

I'm comparing three (or more) files which have long file names and a long path. image But I can't tell which file is which because the file path/name is too long, and it cuts off the most important part (the file name).

I want to be able to see the file name even when the path is long.

Possible solutions:

  • Add a preference to only show the file name there (and hide the path)
  • Make that text overflow left instead of right
  • Detect that the text is overflowing and elide (...) the start of the path.

blackboxlogic avatar Apr 05 '22 21:04 blackboxlogic

I agree! (it's a great tool and the name is often cut off)

Perhaps it would help to omit the parts of the path that match. I often have the same named file in two different folders and can't tell them apart.

joyously avatar Apr 05 '22 21:04 joyously

Hi @blackboxlogic ! Thanks for opening an issue!

I agree that this is not great, I'll see what I can do.

I see also that you are using Windows. Which version of Diffuse are you using right now? (I wonder because since I can't maintain the Windows version anymore, it's possible that you are running an old version)

MightyCreak avatar Apr 05 '22 23:04 MightyCreak

I'm on version 0.4.8. I didn't realize the Windows version was EOL but I just found https://github.com/MightyCreak/diffuse/issues/144.

blackboxlogic avatar Apr 06 '22 13:04 blackboxlogic