Bug 358281 - Kate Fails to Persist "Mode" Associated with Edited Files -- Feature Request (?)
Summary: Kate Fails to Persist "Mode" Associated with Edited Files -- Feature Request (?)
Status: RESOLVED NOT A BUG
Alias: None
Product: kate
Classification: Applications
Component: syntax (show other bugs)
Version: Git
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-20 22:08 UTC by Justin Zane Chudgar
Modified: 2019-05-19 15:02 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Zane Chudgar 2016-01-20 22:08:10 UTC
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.
Comment 1 Christoph Cullmann 2019-05-19 15:02:11 UTC
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