Community
    • Login

    Feature Request: "Yes to all button" when reloading modified files

    Scheduled Pinned Locked Moved General Discussion
    8 Posts 5 Posters 4.6k 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.
    • TheVigiIanteT
      TheVigiIante
      last edited by

      Very often I have many files opened as tabs in notepad++, and it happens that many of them are being changed before I return the focus to the Notepad++ application. Then I am asked for each one of them if I want to reload it, which is quite annoying, and when I have clicked on the “Yes” button for all of them, the active tab is not the tab with the file which was previously active, but the last one reloaded, and I have to search for the previously active file manually.
      My suggestion is to add “Yes to all” button in the Reload dialog, and when pressed, it reloads all the modified files, keeping active the tabs that was active when the Notepad++ gained the focus.

      Claudia FrankC 1 Reply Last reply Reply Quote 2
      • Claudia FrankC
        Claudia Frank @TheVigiIante
        last edited by

        Hello @TheVigiIante,

        I assume your a talking about File Status Auto-detection.
        This cannot be solved easily because the way how it works is like this

        • notepad registers a callback to the os to get informed when that file has been changed.
        • once the os detects the file change this callback gets executed
        • now you see the dialog
        • when pressing ok
        • the callback gets called again because of another change and so on …

        So npp doesn’t know that there is another change when you receive the first dialog about the file change.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • guy038G
          guy038
          last edited by guy038

          Hi All,

          Thinking about The Vigilante’s problem, here is a solution that would allow everyone to easily locate few particular tabs, among two or more tens tabs, simultaneously opened, in a single N++ session.

          May be it’s a silly idea but, why couldn’t we colour some specific tabs, differently, than with the classical dark or light grey colour ?

          By this mean, it’ll be easy to, immediately, click on our main files opened. For instance, we could have 4 “main” files, coloured in yellow, blue, red and green, or even in an specific colour, leaving all the other tabs, with their grey background !

          Of course, the Tab Context Menu should contain a new entry : something like Coloured in…, with a list of colours, similar to the one of the Style Configurator. Although I’m not an N++’ developer :-((, I suppose, that it should not be too complicated to achieve !?

          It’s obvious that the new feature would be useful, just in case of more than ten tabs, about, opened, per N++ session.

          Is this a sensible suggestion ?

          Cheers,

          guy038

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

            Hi guy,

            I’m not quite sure if I understand your answer in regards to the question.
            How could this be applied to the feature request being asked for?

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 0
            • guy038G
              guy038
              last edited by

              Hello, Claudia,

              Of course, my previous has NOT a direct relation to The Vigilante’s problem !

              But, I’m just referring to this part of his post :

              and I have to search for the previously active file manually.

              So, I thought about an easy way to pinpoint a particular tab, among numerous ones !

              Cheers,

              guy038

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

                Hi guy038,

                I see, sorry, one of my brain features is to mask text if I can’t map it to the topic.
                But, obvisouly, this is an answer to a question which I simply ignored.

                Cheers
                Claudia

                1 Reply Last reply Reply Quote 0
                • Irfan SheikhI
                  Irfan Sheikh
                  last edited by

                  +1 I agree with @TheVigiIante, often times I open multiple tabs and keep Notepad++ open for several days. Its annoying to click yes on each of the file change dialog. Maybe you can store the status of each of the file change callback and show a dialog will all the modified files on the disk?

                  Scott SumnerS 1 Reply Last reply Reply Quote 0
                  • Scott SumnerS
                    Scott Sumner @Irfan Sheikh
                    last edited by

                    @Irfan-Sheikh

                    For sure a workaround, but holding down Alt+y (to answer “yes”) until all of these popups are closed could ease your annoyance. Maybe. :-)

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