• Login
Community
  • Login

Notepad++ 7.7.1 won't default to .txt when saving

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
txtsaving
15 Posts 12 Posters 6.8k 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.
  • L
    Luis R
    last edited by May 27, 2020, 5:56 PM

    The solution is simple.

    1. Search for Notepad ++ by pressing the Windows button
    2. Right-click on Notepad ++ and Run as administrator
    3. Notepad ++ Run as administrator
    4. Navigate to the path Settings -> Preferences -> Default Directory
    5. Uncheck the “Use new style dialog (without file extension feature & Unix style path capacity)”

    Once you make this change in the Notepad ++ preference, the Save As dialog will have .txt extension by default as shown below

    Source:
    https://techsupportwhale.com/set-default-extension-while-saving-in-notepad-plus-plus/

    J J V 3 Replies Last reply Jun 3, 2020, 10:57 PM Reply Quote 1
    • J
      Josh Mayfield @Luis R
      last edited by Jun 3, 2020, 10:57 PM

      @Luis-R just had to create an account to say THANKS! I was starting to feel I’d lost my mind; kept finding all these files I’d saved with no extension. This setting is why. (Don’t remember ever enabling it; wonder if I downloaded a Notepad++ update that turned it on?) Anyway, thanks!

      M 1 Reply Last reply Jun 3, 2020, 11:30 PM Reply Quote 0
      • M
        Michael Vincent @Josh Mayfield
        last edited by Jun 3, 2020, 11:30 PM

        @Josh-Mayfield

        Better yet, wait for the 7.8.7 release which will drop imminently and that fixes this behavior using the New style dialogue.

        Cheers.

        J 1 Reply Last reply Jul 18, 2020, 5:08 PM Reply Quote 3
        • J
          Joshua Issac @Michael Vincent
          last edited by Jul 18, 2020, 5:08 PM

          @Alan-Kilborn In English, “default” means that it gets selected or populated automatically, without the user having to do it manually. Once you learn its meaning, it becomes easy to understand the title without having to guess. Replying boldly without understanding what the other user has posted comes off as very patronising.

          @Michael-Vincent Updated to Notepad++ v7.8.7 and I can confirm that the bug has been fixed as you said.

          1 Reply Last reply Reply Quote 0
          • J
            Jenny Gunderman @Luis R
            last edited by Oct 16, 2020, 10:37 PM

            @Luis-R - Thank you!!

            1 Reply Last reply Reply Quote 0
            • V
              Viri Davu @Alan Kilborn
              last edited by Viri Davu Feb 19, 2023, 8:12 PM Feb 19, 2023, 8:11 PM

              @Alan-Kilborn said in Notepad++ 7.7.1 won’t default to .txt when saving:

              No, it isn’t.

              Yes, it is. It was perfectly obvious to me, especially after having found this thread through a Google search about the issue.

              Saving a new file in Notepad++ is common, and so is the file not saving as .txt. This is unusual to most other text editors I’ve used, and in fact, Notepad++ is based on Windows Notepad, which saves new files as .txt by default. That’s common behavior. That’s expected. Anyone being unaware of that I would question their experience with using text editors.

              My argument, and probably most others running into Notepad++'s abnormal behavior, is that it should by default save new files as .txt unless otherwise specified by the user in settings or overridden in the Save dialog. Why this isn’t default behavior like the editor it’s based on and most other editors, I don’t know. Even for security reasons it should be. You’ll have to read up on why, but I’ll just give a hint that typically .txt files are not security risks across apps and operating systems (like other file types are).

              I’m here looking for a solution, but it seems your comment needs correcting first, and comes off as either oblivious or arrogant. Hopefully someone else has an actual solution.

              E 1 Reply Last reply Feb 20, 2023, 8:33 AM Reply Quote 0
              • V
                Viri Davu @Luis R
                last edited by Feb 19, 2023, 8:16 PM

                @Luis-R There’s no checkbox titled “Use new style dialog” there.

                10fe044d-65f5-46b2-830b-2e6fdeaf55c4-image.png

                T A P 3 Replies Last reply Feb 19, 2023, 8:39 PM Reply Quote 0
                • T
                  Terry R @Viri Davu
                  last edited by Feb 19, 2023, 8:39 PM

                  @Viri-Davu said in Notepad++ 7.7.1 won’t default to .txt when saving:

                  There’s no checkbox titled “Use new style dialog” there.

                  You are quoting from a post that’s almost 3 years old. Bear in mind applications such as this will be enhanced, have bug fixes applied and other stuff applied to visually enhance the user experience.

                  Suggest you read the online manual here which refers to the setting that was “new style” and what it is now.

                  Terry

                  1 Reply Last reply Reply Quote 2
                  • A
                    Alan Kilborn @Viri Davu
                    last edited by Alan Kilborn Feb 19, 2023, 8:44 PM Feb 19, 2023, 8:40 PM

                    @Viri-Davu

                    This thread started out talking about version 7.7.1.
                    Current as of this writing is v. 8.4.9.
                    Talking about older aspects of N++, e.g. Use new style dialog, is probably pointless at this point. (That particular setting was removed some time ago)

                    8.4.9:

                    • Create new tab with Ctrl+n
                    • Notepad++ creates a tab called new 4 (for example).
                    • Make some changes; add text…
                    • Save it with Ctrl+s.
                    • Notepad++ suggests the name is new 4.txt.

                    I’m really mystified as to what the perceived problem is.

                    1 Reply Last reply Reply Quote 2
                    • P
                      PeterJones @Viri Davu
                      last edited by PeterJones Feb 19, 2023, 9:33 PM Feb 19, 2023, 8:42 PM

                      @Viri-Davu

                      You are replying to a complaint about a version of Notepad++ that is 3.5 years old. Which version of Notepad++ are you using? If you’re still using v7.7.1, then upgrade. If you’re using a new enough version, as enumerated below (or even as early as v7.8.7 per @Joshua-Issac’s post from Jul 18, 2020, it will likely have had that fixed already.

                      There’s no checkbox titled “Use new style dialog” there.

                      There was a setting in that page of the dialog 3.5 years ago. But software changes over time. As documented in the user manual, in v7.9.1 (Nov 2020), that setting moved to the MISC category instead of the “Default Directory” category. And then in v8.0 and newer (since June 2021), it has been replaced by a toggle in the Save As dialog:
                      b9876d98-7734-425e-b195-386a51724195-image.png

                      It’s on by default, and .txt is the default file type (unless you have changed the Preferences > New Document settings).

                      1 Reply Last reply Reply Quote 3
                      • E
                        Ekopalypse @Viri Davu
                        last edited by Feb 20, 2023, 8:33 AM

                        @Viri-Davu said in Notepad++ 7.7.1 won’t default to .txt when saving:

                        … and in fact, Notepad++ is based on Windows Notepad, …

                        I’m curious, what makes you think this is the case?

                        @Viri-Davu said in Notepad++ 7.7.1 won't default to .txt when saving:

                        Even for security reasons it should be. …

                        Can you explain this in more detail? Why should files be saved as .txt for security reasons? This does not make sense to me. Where is this specified?

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