https://bugs.kde.org/show_bug.cgi?id=503207
Bug ID: 503207 Summary: Please add a switch to disable using .gitignore for project file listing Classification: Applications Product: kate Version: 24.08.3 Platform: Other OS: Linux Status: REPORTED Severity: wishlist Priority: NOR Component: general Assignee: kwrite-bugs-n...@kde.org Reporter: e...@horse64.org Target Milestone: --- SUMMARY The project plugin is great to use and a total life saver compared to giant IDEs that often take forever to load, especially with how lean kate is. However, regarding one point it seems to be a little too smart: Please add a switch to disable using .gitignore for project file listing of the "Projects" plugin. I would also suggest that perhaps this should be disabled by default. There are multiple reasons why hiding files via .gitignore might be undesirable: 1. a file could be listed in .gitignore because it's synced differently. This is an extremely common use case with game projects, since most platforms don't allow storing many large files (even GitHub for example has tight limits on files via git-lfs for free accounts). This is also a common use case for credentials that may be synced but in a different, less public way. 2. A file could be listed in .gitignore because it's part of a different repository, but linked or copied in place regularly for parallel use in this project. 3. A file could be listed in .gitignore because it's just a local experiment that's not meant to be committed by accident. 4. The user may be trying to edit a file inside a git repository without being aware of caring that the file is in a git repository, in which case hiding things might be surprising. In all of these use cases, the user may want to still edit the file, and it's not obvious at all how to do so right now. Also, it seems to be kind of against the principles of kate to be a simple text editor that isn't trying to do tons of IDE things out of the box the user may not want, to simply hide these files and 1. not make it obvious they're hidden (I never realized that's an intended behavior) and 2. not make it obvious how to show them (even as a setting somewhere deep in the preferences, this may not be obvious to new users). My apologies if there's already a setting and I simply missed it. STEPS TO REPRODUCE 1. Try to disable .gitignore based file listing, in favor of a plain what's-on-the-disk file listing. OBSERVED RESULT There doesn't seem to be an associated setting in the "Projects" settings pane. EXPECTED RESULT There is an associated setting, and perhaps it should be enabled by default. SOFTWARE/OS VERSIONS Windows: macOS: (available in the Info Center app, or by running `kinfo` in a terminal window) Linux/KDE Plasma: postmarketOS v24.12 KDE Plasma Version: 6.2.4 KDE Frameworks Version: 6.8.0 Qt Version: 6.8.0 ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.