https://bugs.kde.org/show_bug.cgi?id=358281

            Bug ID: 358281
           Summary: Kate Fails to Persist "Mode" Associated with Edited
                    Files -- Feature Request (?)
           Product: kate
           Version: Git
          Platform: Archlinux Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: wishlist
          Priority: NOR
         Component: syntax
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: jus...@justinzane.com

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.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to