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.4k 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.
    • EkopalypseE
      Ekopalypse @Anna Naden
      last edited by

      @Anna-Naden

      as @Alan-Kilborn said, if you provided it with the extension you should get a file saved with that extension.
      But what I ASSUME you want to have is a different view in the file save dialog, correct? If so, the setting is Settings->Preferences->Default Directory->use new style …

      1 Reply Last reply Reply Quote 3
      • Meangirl SlayerM
        Meangirl Slayer @Alan Kilborn
        last edited by

        @Alan-Kilborn you are everything I hate.

        1 Reply Last reply Reply Quote 3
        • Luis RL
          Luis R
          last edited by

          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/

          Josh MayfieldJ Jenny GundermanJ Viri DavuV 3 Replies Last reply Reply Quote 1
          • Josh MayfieldJ
            Josh Mayfield @Luis R
            last edited by

            @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!

            Michael VincentM 1 Reply Last reply Reply Quote 0
            • Michael VincentM
              Michael Vincent @Josh Mayfield
              last edited by

              @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.

              Joshua IssacJ 1 Reply Last reply Reply Quote 3
              • Joshua IssacJ
                Joshua Issac @Michael Vincent
                last edited by

                @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
                • Jenny GundermanJ
                  Jenny Gunderman @Luis R
                  last edited by

                  @Luis-R - Thank you!!

                  1 Reply Last reply Reply Quote 0
                  • Viri DavuV
                    Viri Davu @Alan Kilborn
                    last edited by Viri Davu

                    @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.

                    EkopalypseE 1 Reply Last reply Reply Quote 0
                    • Viri DavuV
                      Viri Davu @Luis R
                      last edited by

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

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

                      Terry RT Alan KilbornA PeterJonesP 3 Replies Last reply Reply Quote 0
                      • Terry RT
                        Terry R @Viri Davu
                        last edited by

                        @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
                        • Alan KilbornA
                          Alan Kilborn @Viri Davu
                          last edited by Alan Kilborn

                          @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
                          • PeterJonesP
                            PeterJones @Viri Davu
                            last edited by PeterJones

                            @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
                            • EkopalypseE
                              Ekopalypse @Viri Davu
                              last edited by

                              @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