| Summary: | Auto-reload Projects sidebar | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Adam Beer <a.beer_256> |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED INTENTIONAL | ||
| Severity: | wishlist | CC: | groszdanielpub, waqar.17a |
| Priority: | NOR | ||
| Version First Reported In: | 23.04.3 | ||
| Target Milestone: | --- | ||
| Platform: | NixOS | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Adam Beer
2023-11-15 15:26:31 UTC
We haven't done this intentionally so far and I am not sure if we will do it. Efficiency is one reason, another reason is that it has limited use as its not often does one adds/removes files in a project. Hitting the reload button/shortcut is pretty easy when/if you would like to reload and allows kate to stay lightweight. After implementing a basic watcher I have realized this will just be a source of bugs and problems so I am closing this. We support multiple projects open at once, many people using kate often open upto 4 or 5 projects easily. If we start watching these projects, the watches will exhaust quickly. And this is just linux, the cross platform issues such as macos having hard limits on number of watches is another problem. Almost all editors that are doing this have constant problems with such a feature. I'd prefer that kate remains lightweight instead. Where it gets confusing is when the Quick Open feature doesn't see new files added outside Kate. It took me a while to figure out that it's the Projects sidebar where I have to reload files, especially since I rarely use the Projects sidebar (I mostly use the Filesystem and the Git ones to deal with files). I'm not sure what the less confusing solution would be. Putting a Reload button in the Quick Open panel could also be confusing (what does it reload?). Perhaps reload project(s) if you type something in the Quick Open panel that doesn't match any existing file, or just reload project(s) in the background whenever the Quick Open panel is opened? Also, the Git sidebar does check for changes whenever it's opened (though it doesn't continuously listen for changes either), while the Projects sidebar doesn't. So, even though they both essentially handle the files belonging to the project, they sometimes see different sets of files. |