• Login
Community
  • Login

Recent file history

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
23 Posts 4 Posters 16.2k 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.
  • I
    intel4004u
    last edited by Apr 25, 2022, 4:36 PM

    I’ve never managed to get this to work EVER and it’s got to the point it’s really beginning to annoy me. I’ve set in preferences ‘Recent File History’ as below. No other app has given me this much trouble with such a basic feature. What on earth am I doing wrong? Have I offended the gods somehow?!

    bd950ef3-9480-4e1c-8995-0f1f7fa188ca-image.png

    A P 2 Replies Last reply Apr 25, 2022, 4:59 PM Reply Quote 0
    • A
      Alan Kilborn @intel4004u
      last edited by Apr 25, 2022, 4:59 PM

      @intel4004u

      What does your File menu look like, when dropped down?

      1 Reply Last reply Reply Quote 1
      • P
        PeterJones @intel4004u
        last edited by Apr 25, 2022, 6:48 PM

        @intel4004u

        Quoting a screenshot from https://npp-user-manual.org/docs/preferences/#recent-files-history , with highlight added:

        ac5a5323-98ec-4915-9ef0-d70c6c252ea3-image.png

        So files will not show up in the File > Recent Files submenu until you have closed one or more files.

        1. Notepad++ showing with no recent files history, with change.log file open, because I’ve never closed any files (actually, I used File > Recent Files > Empty Recent Files List to clear the history):
          67af0447-068d-4b7e-a328-103eba63567c-image.png

        2. I close change.log. Now when I look at the File menu, I see the Recent Files sub-menu, and in there, I see my recently closed file:
          c534ddca-073f-4695-b697-74c2a27b64c0-image.png

        If you have not ever closed a file since you last cleared the history, then your recently-closed-file list will be empty.

        A I 2 Replies Last reply Apr 25, 2022, 6:52 PM Reply Quote 0
        • A
          Alan Kilborn @PeterJones
          last edited by Apr 25, 2022, 6:52 PM

          @peterjones

          I think what we have from the OP is lack of sufficient information to diagnose the problem, or even to diagnose that that IS a problem. Hopefully the OP returns and comments to provide more info.

          1 Reply Last reply Reply Quote 0
          • I
            intel4004u @PeterJones
            last edited by Apr 25, 2022, 10:56 PM

            @peterjones Thanks Peter. I did a clean install of Notepad++ last week thinking this might help. I probably close N++ using the close window control rather than Ctrl+W which causes no opened files to be included in the history which would explain why my history never had anything.

            I would much prefer to have the history added to when you open a file or at least let the user decide. What do you think?

            P A 2 Replies Last reply Apr 25, 2022, 11:19 PM Reply Quote 0
            • P
              PeterJones @intel4004u
              last edited by Apr 25, 2022, 11:19 PM

              @intel4004u said in Recent file history:

              What do you think?

              It was recently discussed (which is why the comment was added to the user manual).

              Personally, I see no point in having a separate “recently opened” file list: that would be no different than the list of open files, which is available in a plethora of manners. I only need it in the separate “recent” list if I ever want to re-open it; I only want to re-open it if it has been closed. But as I said in the link above, the weight of user expectation (it’s been recently-closed-list for >7 years) is a strong argument against changing for change’s sake; if there were a big benefit of having recently-opened in that specific list, it might be worth overcoming user-expectation… but so far, I haven’t seen a compelling reason to change it.

              1 Reply Last reply Reply Quote 3
              • A
                Alan Kilborn @intel4004u
                last edited by Apr 26, 2022, 12:21 PM

                @intel4004u said in Recent file history:

                I probably close N++ using the close window control rather than Ctrl+W which causes no opened files to be included in the history which would explain why my history never had anything.

                The method of closure has nothing to do with whether or not something is added to the history. If you close a hard-named file in the file system (not something like new 1 or new 27 !), it gets added to the recent file history.

                I 1 Reply Last reply May 3, 2022, 5:52 PM Reply Quote 1
                • A
                  Alan Kilborn
                  last edited by Apr 26, 2022, 12:23 PM

                  What might solve the “problem”, at least for the case in which the “submenu” option is selected, is having the submenu named “Recently Closed Files” instead of “Recent Files”. However, this is just an observation and I’m not advocating a change, because users don’t like change. :-)

                  1 Reply Last reply Reply Quote 1
                  • A
                    Alan Kilborn
                    last edited by Apr 26, 2022, 1:00 PM

                    On the subject of UI text, Restore Recent Closed File could be considered a point of confusion. Restore it how? Ohhhhh, re-open it – I get it, but it made me think more about it than needed.

                    M 1 Reply Last reply Apr 26, 2022, 2:38 PM Reply Quote 0
                    • M
                      Michael Vincent @Alan Kilborn
                      last edited by Apr 26, 2022, 2:38 PM

                      @alan-kilborn said in Recent file history:

                      On the subject of UI text

                      Like this:

                      3bbb6a8e-cff9-43ef-8e93-efb41baa4da0-image.png

                      hacking ‘english_customizable.xml’.

                      Cheers.

                      A 1 Reply Last reply Apr 26, 2022, 2:41 PM Reply Quote 2
                      • A
                        Alan Kilborn @Michael Vincent
                        last edited by Apr 26, 2022, 2:41 PM

                        @michael-vincent said in Recent file history:

                        hacking ‘english_customizable.xml’

                        Well…that’s an individual user’s option…to make things “better” for themselves…

                        But…it doesn’t ease a possible tech support burden going forward, for the masses.
                        Of course, if the user manual explains it, I guess it is “all good”.

                        A 1 Reply Last reply Apr 26, 2022, 2:48 PM Reply Quote 1
                        • A
                          Alan Kilborn @Alan Kilborn
                          last edited by Apr 26, 2022, 2:48 PM

                          @alan-kilborn said in Recent file history:

                          But…it doesn’t ease a possible tech support burden going forward, for the masses.
                          Of course, if the user manual explains it, I guess it is “all good”.

                          To be fair, it hasn’t been a huge burden to this point…1 or 2 users. :-)

                          M 1 Reply Last reply Apr 26, 2022, 2:51 PM Reply Quote 0
                          • M
                            Michael Vincent @Alan Kilborn
                            last edited by Apr 26, 2022, 2:51 PM

                            @alan-kilborn said in Recent file history:

                            To be fair, it hasn’t been a huge burden to this point…1 or 2 users. :-)

                            Agree, but if my “mock up” looks good and makes more sense, we could propose an Issue / PR for the codebase to include that as standard in the code, in ‘english.xml’ and any other place the translators want to update.

                            Cheers.

                            A 1 Reply Last reply Apr 26, 2022, 3:02 PM Reply Quote 0
                            • A
                              Alan Kilborn @Michael Vincent
                              last edited by Apr 26, 2022, 3:02 PM

                              @michael-vincent said in Recent file history:

                              we could propose an Issue / PR for the codebase

                              Sure, but these types of changes are historically hard to sell to the devs.

                              I had previously adjusted my own UI, here’s what I have:

                              c8a3cd56-a945-4cf6-a8ae-6ef314f3aaf7-image.png

                              If it is to be proposed for change, it should be the best it can be. (Not saying mine is better than yours, or vice versa).

                              M 1 Reply Last reply Apr 26, 2022, 3:28 PM Reply Quote 1
                              • M
                                Michael Vincent @Alan Kilborn
                                last edited by Apr 26, 2022, 3:28 PM

                                @alan-kilborn said in Recent file history:

                                Sure, but these types of changes are historically hard to sell to the devs.

                                Agree.

                                If it is to be proposed for change, it should be the best it can be.

                                Agree.

                                Cheers.

                                1 Reply Last reply Reply Quote 0
                                • I
                                  intel4004u @Alan Kilborn
                                  last edited by May 3, 2022, 5:52 PM

                                  @alan-kilborn No it doesn’t. When I close a file via the menu it got saved to the list but when I chose via the ‘X’ option in the top right corner of the main window (not tab) the file didn’t get saved to the history, which I think is just plain silly, it’s a recent file so why does it not appear in the list.

                                  Incidentally today when I went to my ‘Recent Files’ it was empty apart from ‘Change.log’ even though I hadn’t emptied the history. This is very frustrating and think I’ll start looking for an alternative editor. A ‘Recent File’ list should contain all files you’ve opened/closed/edited/ not edited, whatever, end of.

                                  Another thing I have multiple instances of N++ open often with the same file. So if I open a second instance and the file I want is open in the first instance it then won’t show in recent history in the second instance so once again I have to go hunt for it.

                                  A P 3 Replies Last reply May 3, 2022, 6:23 PM Reply Quote 0
                                  • A
                                    Alan Kilborn @intel4004u
                                    last edited by May 3, 2022, 6:23 PM

                                    @intel4004u said:

                                    when I close via the ‘X’ option in the top right corner of the main window (not tab) the file didn’t get saved to the history, which I think is just plain silly, it’s a recent file so why does it not appear in the list.

                                    Umm, because the file is going to be open the next time you run Notepad++ (thus it isn’t recently-closed).

                                    A 1 Reply Last reply May 3, 2022, 6:24 PM Reply Quote 0
                                    • A
                                      Alan Kilborn @Alan Kilborn
                                      last edited by May 3, 2022, 6:24 PM

                                      @intel4004u said:

                                      today when I went to my ‘Recent Files’ it was empty apart from ‘Change.log’ even though I hadn’t emptied the history.

                                      I have multiple instances of N++ open often with the same file

                                      When you do multiple instances, the instance that you close LAST will be the one that writes its settings (that are used when you next run Notepad++). This could account for only the “change.log” file being present in the history, I suppose.

                                      Multiple instances is a feature, but I don’t like it for a few reasons, and I don’t advise others to use it. But do as you will.

                                      A 1 Reply Last reply May 3, 2022, 6:25 PM Reply Quote 1
                                      • A
                                        Alan Kilborn @Alan Kilborn
                                        last edited by May 3, 2022, 6:25 PM

                                        @intel4004u said:

                                        A ‘Recent File’ list should contain all files you’ve opened/closed/edited/ not edited, whatever, end of.

                                        As we’ve tried to explain before, perhaps the nomenclature is bad. The feature IMO is good, because why do I want this menu cluttered with files that are already open?

                                        A 1 Reply Last reply May 3, 2022, 6:25 PM Reply Quote 0
                                        • A
                                          Alan Kilborn @Alan Kilborn
                                          last edited by May 3, 2022, 6:25 PM

                                          @intel4004u said:

                                          I’ll start looking for an alternative editor

                                          Well, Notepad++ is certainly sorry to lose a user.

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