Some filetype patterns, like '.*\.cfg', match 2 or more syntax and highlighting modes -- like innumerable configuration files as well as Wesnoth Markup LAnguage (WML) files. When I open a Wesnoth file and manually choose 'Tools/Mode/Markup/Wesnoth Markup Language'; I would like kate to remember that association between '/path/to/a_wesnoth_file.cfg' and the selected mode. That way, when editing a Wesnoth add-on, I do not have to set the mode by hand every time I open the same file. Of course, the Wesnoth usage is simply an example use case. It should be helpful to anyone editing files with multiple possible modes. Thanks. Reproducible: Always Steps to Reproduce: 1. Open 'path/to/file'. 2. Set 'Tools/Mode/Foo/Bar' 3. Close file. 4. Reopen 'path/to/file'. Currently: Must manually reselect mode. Wanted: Kate reopens file with previously used mode.
Dear user, this wish list item is now closed, as it wasn't touched in the last year and no contributor stepped up to implement it. The Kate/KTextEditor team is small and we can just try to keep up with fixing bugs. Therefore wishes that show no activity for a years or more will be closed from now on to keep at least a bit overview about 'current' wishs of the users. If you want your feature to be implemented, please step up to provide some patch for it. If you think it is really needed, you can reopen your request, but keep in mind, if no new good arguments are made and no people get attracted to help out to implement it, it will expire in a year again. We have a nice website https://kate-editor.org that provides all the information needed to contribute, please make use of it. Patches can be handed in via https://phabricator.kde.org/differential/ Greetings Christoph Cullmann