Kate git/porject not visible through SSH

Hello all,

I have been happily using KDE Plasma and Kate for 2 years.
I am using Git. My Git repository contains a .kateproject file. Just like the official Kate github by the way. When I launch Kate on the git repository, Kate is able t see the content of the directory (the .git and the .kateproject) so the integrated Git module + project setup work flawlessly.

Now I need to do work remotely :

  • a distant workstation (with KDE Plasma) with Git repositories, project, etc …
  • and a local laptop (with KDE Plasma in the best case; with Win11 worst case) with no repository allowed on it.

Using KIO and the “network” tab of Dolphin, I can get a directory of the workstation mounted on the laptop. Files are accessible and I am able to edit workstation files, using the laptop Kate. Internet is full of example of this.

The issue is that I want to open a directory (not a file), through SSH, namely the workstation’s git repository. When I do this, Kate report an empty directory and the “output” tab says that no “.git” directory was found.

Why is that ?

Workarounds: Manually using SSHFS to mount the directory works and Kate behaves correctly.
Non-workarounds: I do not want to do RDP, VNC, … I do not want to run Kate on the workstation and stream to my laptop.

Thank you all

It is because Kate project plugin only works with local files. It doesn’t support remote projects in any form.