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

            Bug ID: 454266
           Summary: Filesystem > Right-click > Create New > Text File...
                    should not assume *.txt extension
           Product: kate
           Version: 22.04.1
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kwrite-bugs-n...@kde.org
          Reporter: fpes...@tuxfamily.org
  Target Milestone: ---

Hello,

right now Filesystem > Right-click > Create New > Text File... defaults to a
filename with a .txt extension, selecting automatically the name of the file
(and leaving .txt out of the selection).

I think this behavior is not very user-friendly, for three reasons:
1. Text files do not need an extension and indeed, creating a blank text file
without an extension will open it in Normal mode
2. Kate is also used by programmers and they need to create files with all
sorts of extensions (like .c, .rb, .py, .rs, etc.); removing .txt requires
additional keystrokes (e.g. ctrl+k or 4 hits of the "del" key or ctrl+a before
typing, etc.)
3. (my opinion) Nowadays .txt files can be replaced by .md (Markdown) files in
many situations, making manual creation of files with a .txt extension useful
only in few selected situations

Of course, this is a very minor UX fix, nothing serious (the Project plugin
does not suffer from it) but I think a few keystrokes could be saved for what I
believe to be the majority of users (i.e. people who create files with other
extensions more often than they create .txt files). Thank you for reading.

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

Reply via email to