• Login
Community
  • Login

How do I make make "Save as type" default to "*.*" instead of "*.txt"?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
7 Posts 3 Posters 849 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A
    alexolog
    last edited by Oct 22, 2020, 11:09 PM

    How do I make make “Save as type” default to “.” while keeping “*.txt” as one of the options in the dropdown?

    M A 2 Replies Last reply Oct 22, 2020, 11:35 PM Reply Quote 0
    • M
      Michael Vincent @alexolog
      last edited by Oct 22, 2020, 11:35 PM

      @alexolog said in How do I make make "Save as type" default to "*.*" instead of "*.txt"?:

      How do I make make “Save as type” default to “.” while keeping “*.txt” as one of the options in the dropdown?

      Wait for the next release ?

      1 Reply Last reply Reply Quote 3
      • A
        Alan Kilborn @alexolog
        last edited by Alan Kilborn Oct 23, 2020, 11:48 AM Oct 23, 2020, 11:47 AM

        @alexolog

        It appears from @Michael-Vincent 's link that there is going to be a new preference setting available with the release after 7.9 :

        ☐ Set Save dialog file extension filter to *.* instead of .txt for Normal Text

        When this becomes available, you’d want to tick the box so it appears like this:

        ☑ Set Save dialog file extension filter to *.* instead of .txt for Normal Text

        It looks like this new setting will be on the MISC. page of the Preferences.

        Actually, maybe the text of this should be “Set Save As dialog file…” because there really is no such thing as a “Save” (without the “As”) dialog. :-)

        1 Reply Last reply Reply Quote 2
        • A
          alexolog
          last edited by Oct 23, 2020, 1:39 PM

          Will that make both filters available and just default to . or will it replace the *.txt with . ?

          M A 2 Replies Last reply Oct 23, 2020, 2:05 PM Reply Quote 0
          • M
            Michael Vincent @alexolog
            last edited by Michael Vincent Oct 23, 2020, 2:07 PM Oct 23, 2020, 2:05 PM

            @alexolog

            All filters are always all available. It’s a matter of which one you want to show up in the “Save as type” combo box.

            Personally, I prefer Notepad++ to “auto-assume” I want the extension based on the language I am editing in.
            Of course, for new files, this presents a dilemma since no language can be assumed. For me, this not an issue since I don’t write an entire new file in some language without first going to the Language menu and selecting that language so I get proper lexing while coding.

            The default is “Normal Text” - see this by opening a File => New and notice the bottom left status bar says “Normal text file” and the menu Language => N => Normal Text is checked. So now, when saving, Notepad++ will “auto-assume” you want Normal Text and automatically select the “Save as type” to Normal text file (*.txt). Note, you can easily use the combo box pull down to select another file type - or just scroll it up 1 single entry to find the All types (*.*):

            309df1ca-6bf6-4c27-94c0-05616558ea1a-image.png

            As I understand the commit I referenced above and as @Alan-Kilborn explains it - you will now have a checkbox to make All types (*.*) the default “auto-assumed” type for Notepad++ Save As…

            Cheers.

            1 Reply Last reply Reply Quote 3
            • A
              Alan Kilborn @alexolog
              last edited by Alan Kilborn Oct 23, 2020, 2:07 PM Oct 23, 2020, 2:05 PM

              @alexolog said in How do I make make "Save as type" default to "*.*" instead of "*.txt"?:

              Will that make both filters available and just default to *.* or will it replace the *.txt with *.* ?

              From the code change, all it does is select a different filter for this case.
              So I’d say the first part of what you said is what happens (“both filters available…”)

              More info: I think the reason for the code change is because people were unexpectedly ending up with theirfile.ext.txt instead of what they wanted: theirfile.ext

              A 1 Reply Last reply Oct 23, 2020, 2:09 PM Reply Quote 2
              • A
                Alan Kilborn @Alan Kilborn
                last edited by Oct 23, 2020, 2:09 PM

                See also: https://community.notepad-plus-plus.org/topic/20147/save-as-with-all-types

                1 Reply Last reply Reply Quote 1
                7 out of 7
                • First post
                  7/7
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors