• Login
Community
  • Login

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

Scheduled Pinned Locked Moved General Discussion
8 Posts 5 Posters 4.7k 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.
  • T
    TheVigiIante
    last edited by Mar 9, 2016, 11:25 AM

    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.

    C 1 Reply Last reply Mar 9, 2016, 1:52 PM Reply Quote 2
    • C
      Claudia Frank @TheVigiIante
      last edited by Mar 9, 2016, 1:52 PM

      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
      • G
        guy038
        last edited by guy038 Mar 13, 2016, 8:43 PM Mar 13, 2016, 8:42 PM

        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
        • C
          Claudia Frank
          last edited by Mar 13, 2016, 10:26 PM

          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
          • G
            guy038
            last edited by Mar 13, 2016, 10:49 PM

            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
            • C
              Claudia Frank
              last edited by Mar 13, 2016, 10:53 PM

              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
              • I
                Irfan Sheikh
                last edited by Mar 20, 2018, 6:19 PM

                +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?

                S 1 Reply Last reply Mar 20, 2018, 6:25 PM Reply Quote 0
                • S
                  Scott Sumner @Irfan Sheikh
                  last edited by Mar 20, 2018, 6:25 PM

                  @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