Hidden files (ex .gitignore) not visible in the project file list

I feel like I’m going crazy, files with a leading period are not visible in my Kate’s Projects files list. I want to say this must be a setting but I can’t find it, and I can’t find any mention of other people having this problem either. Moreso, the screenshot from the Kate source code literally has a hidden file visible in the files list!!

My Kate version is 25.12.3, I’m including these screenshots of my Kate and also the same folder in Dolphin showing the hidden files actually exist.

Here’s the Kate source code screenshot proving this should be possible

Please can some one make sense of this, what am I doing wrongggggg

thanks in advance

WAIT OK I HAVE A LEAD

I noticed that the icon for the “Projects” Tool View is different between my Kate and the source code screenshot, so maybe its a different Tool View entirely? But I’ve searched all over Kate to see if there’s another Tool View I can enable that would actually show the hidden files, but I can’t find anything!

I’m also on Kate 25.12.3, files with a leading period do show for me, and I can’t find a setting to make them not show. Weird :thinking:

2 Likes

I found the following bug:

Is it possible all your hidden files are also listed in your .gitignore?
It’s incredibly confusing, either way, because I was able to see some hidden files but not all and I had no clue why.

Edit: disabling git in the project settings as is suggested in the comments removed all hidden files, instead…

3 Likes

WELL that’s a troubling bug/behavior as well.

Git is not initialized in this folder. The .gitignore and .gitattributes files were just added when creating the npm vue project. That said, I did try removing the .gitignore and it didn’t have an effect.

I’m glad to see this is a registered bug and not an intended behavior at least.

Follow up question, where in the source code is the the Projects Tool View defined? I’ve been clicking through files on the github mirror for like 30 minutes and have no idea whats what

Well, the issue’s status was set to “RESOLVED NOT A BUG”, so…

Removing / renaming .gitignore did help in my case in a folder with an actual git repository, but making a copy of the project and removing the .git folder had the same effect as disabling “Autoload git” in the other folder: no hidden files visible anymore whatsoever.

I only ever use kate for single files usually, so I have no experience with the project tool view, but I guess I’m as confused as you are for now.

1 Like

Combining the info from the bug tracker and looking through the source, you can create a .kateproject file in your projects root with the following content:

{
  "files": [{ "hidden": 1 }]
}

To make hidden files show up (as long as it’s not a git repository, in which case it will fall back to the other mechanism).
I don’t find this ideal, though.

1 Like

Well, the issue’s status was set to “RESOLVED NOT A BUG”, so…

OH NO I didn’t notice that arrrggg
I want to move away from vscode (too many bells and whistles cluttering the functionality, also ew microsoft) and kate seemed like a good option but this is not very ideal.

Well regardless, this solution works for now. Thank you very much for your help!!