Community
    • Login

    How about a prompt to save on exit when established files are changed?

    Scheduled Pinned Locked Moved General Discussion
    7 Posts 4 Posters 3.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.
    • Torleif DønnestadT
      Torleif Dønnestad
      last edited by

      The backup feature is great. I love being able to make temp notes without having to explicitly save them supplying a file name and location. However, I would greatly appreciate a prompt to save on exit regarding those files that are already established with a file name (not the temp ones which I haven’t explicitly saved). An icon indicating whether an established file has unsaved changes would also be helpful.

      1 Reply Last reply Reply Quote 0
      • Torleif DønnestadT
        Torleif Dønnestad
        last edited by

        I now see that files with unsaved changes are marked with a red disc while saved ones are blue. Maybe there is a more intuitive way visualizing this? How about using a *, like for instance Visual Studio?

        1 Reply Last reply Reply Quote 0
        • decodermanD
          decoderman
          last edited by

          An icon indicating whether an established file has unsaved changes would also be helpful.

          I now see that files with unsaved changes are marked with a red disc while saved ones are blue.

          There you have it. Good enough for me.

          1 Reply Last reply Reply Quote 1
          • richluxR
            richlux
            last edited by

            Being color-blind, I find the blue/red icon colors to be very difficult to see. A character such as an asterisk (*) would be much better IMHO. Otherwise, is there a way to customize the colors?

            Rich

            1 Reply Last reply Reply Quote 1
            • decodermanD
              decoderman
              last edited by

              From the user manual:

              When you edit a file, Notepad++ will mark the file as edited, allowing you to save it if you wish to store these changes. To indicate a file is edited, the icon in the tab bar will turn red and an asterisk (*) will be displayed in the title bar before the filename if that file is active.

              1 Reply Last reply Reply Quote 0
              • decodermanD
                decoderman
                last edited by

                However, I would greatly appreciate a prompt to save on exit regarding those files that are already established with a file name (not the temp ones which I haven’t explicitly saved).

                Settings / Preferences / Backup
                Uncheck “Remember current session for next launch”. This will ask you to save it before close.
                I know this defeats the purpose. But all unsaved documents are restored from backup if checked.

                1 Reply Last reply Reply Quote 0
                • Claudia FrankC
                  Claudia Frank
                  last edited by

                  Maybe it is possible by writing a little python script which checks on application
                  shutdown if files, which are modified and have been saved already, exists.
                  Maybe - because I didn’t try it so I’m not sure if the script can really do it.
                  Let us know if you want to go this way.

                  Cheers
                  Claudia

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