Community
    • Login

    [Plugin Update] NavigateTo

    Scheduled Pinned Locked Moved Notepad++ & Plugin Development
    opentabsnavigationtabs features
    22 Posts 7 Posters 11.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.
    • young-developerY
      young-developer
      last edited by young-developer

      NavigateTo v1.8.1 - navigate between files(tabs) quickly like a Ninja :D
      If you have more then 20+ opened tabs(files) in your NPP than this plugin is for you :)

      Last releases: https://github.com/young-developer/nppNavigateTo/releases (x64 version is included)

      P.S. I am going to post here all update notification of NavigateTo plugin. Previous updates you could find in general discussion here - https://notepad-plus-plus.org/community/topic/12892/navigateto-navigate-between-files-tabs-quickly-like-a-ninja-d

      1 Reply Last reply Reply Quote 0
      • young-developerY
        young-developer
        last edited by

        New version https://github.com/young-developer/nppNavigateTo/releases/tag/1.12.2 is available.

        1 Reply Last reply Reply Quote 0
        • chcgC
          chcg
          last edited by

          Is your plugin available via Plugin Manager? Seems this is not the case. You could register at https://npppm.bruderste.in/plugins.

          young-developerY 1 Reply Last reply Reply Quote 0
          • young-developerY
            young-developer @chcg
            last edited by young-developer

            @chcg I sent registration request yesterday and I am waiting for email. Thank you.

            1 Reply Last reply Reply Quote 0
            • chcgC
              chcg
              last edited by

              There were some server issues, which should be fixed in the meantime. Did you get an email regarding the account?

              young-developerY 2 Replies Last reply Reply Quote 0
              • young-developerY
                young-developer @chcg
                last edited by

                @chcg , Unfortunately I have not received confirmation email yet. Perhaps I should use another email address.

                1 Reply Last reply Reply Quote 0
                • young-developerY
                  young-developer @chcg
                  last edited by

                  @chcg Could you recommend me some articles, website or tips how to port this plugin to x64 version because I have run time error on x64 bit version of the plugin.

                  1 Reply Last reply Reply Quote 0
                  • chcgC
                    chcg
                    last edited by

                    Could you explain how to reproduce the runtime issue.
                    As your plugin is starting up I would expect typically a 64bit pointer issue with casting of https://msdn.microsoft.com/de-de/library/windows/desktop/ms644898(v=vs.85).aspx or https://msdn.microsoft.com/de-de/library/windows/desktop/ms633585(v=vs.85).aspx input data, e.g.

                                g_oldComboProc = (WNDPROC) SetWindowLongPtr(hwndEdit, GWLP_WNDPROC, (DWORD) ComboProc);
                                g_oldComboBoxProc = (WNDPROC) SetWindowLongPtr(hwndEdit, GWLP_WNDPROC, (DWORD) ComboBoxProc);
                    

                    should be a static_cast<LONG_PTR> otherwise the pointer is truncated on x64.

                    See https://notepad-plus-plus.org/community/topic/13661/plugin-manager-x64-available-submit-your-plugins for publishing the x64 version. Did you receive a mail for the x86 admin system already?

                    young-developerY 1 Reply Last reply Reply Quote 1
                    • young-developerY
                      young-developer @chcg
                      last edited by

                      @chcg Thank you! Yes, it was problem with casting of LONG_PTR. I will post x64 version little bit later and is going to send request to x86 admin system once again.
                      Thank you for help.

                      1 Reply Last reply Reply Quote 0
                      • chcgC
                        chcg
                        last edited by

                        Added https://github.com/bruderstein/nppPluginManager/issues/67 therefore, so dave should have a look at your request

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

                          Hello, @young-developer,

                          As I replied to @aman-s-aneja, at :

                          https://notepad-plus-plus.org/community/topic/15349/can-we-have-ctrl-shift-r-open-resource-equivalent-for-notepad/2

                          I noticed a small bug in the last v1.12.3 version. This version seems to forget, systematically the very first tab of the current N++ session, in the list displayed !?

                          I also tested the v.1.12.2 version => No problem at all … and no crash, too, BTW !!

                          I’m not a coder but could it be a simple problem of a pointer, beginning at 1 instead of 0 ?

                          Again, many thanks for that very powerful and useful plugin !

                          Cheers,

                          guy038

                          P.S. :

                          Of course, after modifying the order of tabs, you need to stop / restart N++ => Again, the very first tab is absent of the list

                          And… if only one tab is opened, in N++, your plugin list is empty !

                          1 Reply Last reply Reply Quote 0
                          • cmeriauxC
                            cmeriaux
                            last edited by

                            @guy038
                            there is an issue already open in github 1 month ago
                            https://github.com/young-developer/nppNavigateTo/issues/9

                            1 Reply Last reply Reply Quote 0
                            • young-developerY
                              young-developer
                              last edited by

                              Hi guys,

                              @guy038 , New version is avaliable - https://github.com/young-developer/nppNavigateTo/releases/tag/1.12.4

                              P.S. Sorry for such long delay.

                              1 Reply Last reply Reply Quote 0
                              • young-developerY
                                young-developer
                                last edited by

                                @guy038 , @cmeriaux
                                I am going to implement options/settings form.

                                What do you think about optional functionality like that: https://github.com/young-developer/nppNavigateTo/issues/12 ?

                                P.S. Plugin will be updated little bit later because I could not access nppPluginManager admin panel.

                                Thanks

                                1 Reply Last reply Reply Quote 1
                                • cmeriauxC
                                  cmeriaux
                                  last edited by

                                  @young-developer
                                  https://github.com/young-developer/nppNavigateTo/issues/12 is a good one ! Great idea.

                                  About Options/settings form : what about working with a config file instead a GUI form ? GUI is always a nightmare to develop, maintain and make evolve.

                                  Cheers

                                  1 Reply Last reply Reply Quote 0
                                  • Régis PGR
                                    Régis PG
                                    last edited by

                                    Hi @guy038 !

                                    Thank you very much for this great plugin!
                                    I used FileSwitcher until now but as it is not compatible on x64 bit version of NPP, I am happy now to be able to use your plugin ;-)
                                    Unfortunately there is an issue : when I select a file in the list and tape Enter then nothing happens… so impossible to move on the file :-(
                                    Please could you help me to “debug” …?

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

                                      Hello, @Régis-PG,

                                      I did wished to be able to develop such a nice plugin :-)) Unfortunately, you have to thank its true author :

                                      Oleksii Maryshchenko ( young_developer@mail.ru )

                                      I’m just a guy, glad to use this plugin, too !

                                      Refer to :

                                      https://github.com/young-developer/nppNavigateTo

                                      https://github.com/young-developer/nppNavigateTo/releases

                                      Best regards,

                                      guy038

                                      1 Reply Last reply Reply Quote 1
                                      • young-developerY
                                        young-developer
                                        last edited by young-developer

                                        @Régis-PG I updated x64 dll. Please test it. - https://github.com/young-developer/nppNavigateTo/releases/tag/1.12.4
                                        @guy038 I am also investigating issues described by you.
                                        Thank you for your feedback.

                                        1 Reply Last reply Reply Quote 1
                                        • young-developerY
                                          young-developer
                                          last edited by

                                          New plugin v2 is available. Please retest and let me know if something else can be added/changed/fixed: https://github.com/young-developer/nppNavigateTo/releases/tag/v.2.0.0

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

                                            Hello, @young-developer and All,

                                            I’m presently testing your latest NavigateTo plugin ( version 2.4.1 ) !

                                            A general remark : In the last versions, from v2.0.0, you changed your mind and don’t take in account some of the previous features used till the v1.12.7 version. For instance :

                                            • No view column, in the list

                                            • No complementary search, with the leading | character, in the Search Input zone. I suppose that it would be rather useless with the new options of the Search behaviour

                                            • Hitting the Shift key when you click on a file of the list does not switch to this file but simply select it for a future paste operation

                                            • The colors of the row text does not changed anymore with the file status ( saved, unsaved or read-only )


                                            Conversely, there are a lot of improvements with numerous new settings in your last v2.4.1 version ! For instance :

                                            • The ability to close or keep the plugin opened after moving to a file

                                            • The ability to clear or not the search input

                                            • If the Search in current folder option is ticked in Plugins > NavigateTo > Settings , any further search will look in all the listed tabs AND in all the files contained in the folder of the current file. Very useful feature !

                                            • The new Fuzzy search feature

                                            • The possibility of sorting the search results AFTER the search

                                            • Many custom colors can be applied on various regions


                                            Now, I noticed some small bugs which you’ll probably fix very soon :

                                            • Right after starting Notepad++ , if you run the NavigateTo plugin with the Ctrl + , shortcut or with the Plugins > NavigateTo > NavigateTo option, the plugin window is initially empty. So, you must type in, for instance, a Space char followed by a hit on the Backspace key, in the Search Input zone, to get the list of all your opened tabs !

                                            • Although, I set the Min Char Search to the 1 value, in the Plugins > NavigateTo > Settings option, it seems that the search is really effective after you type in, at least, 2 characters in the Search Input zone. For any value greater than 1, the result is correct

                                            • Sometimes, the search shows default orange results in the Source column, in a random way. Is this behaviour normal ? I would expect that this column should never be highlighted !

                                            • In the Plugins > NavigateTo > Settings window, I suppose that the option Search in sub directories too should be greyed out when the Search in current file folder ( Top directory only ) is not ticked !

                                            • It would be nice to have a new option Plugins > NavigateTo > About to know some details on the current version !


                                            Now, regarding some possible enhancements :

                                            • Could it be possible that the search feature acts on :

                                              • Filenames only

                                              • Directories paths only

                                              • Both filenames AND Directories

                                            Thus, the Search behaviour zone, in the Settings window, would be reorganized as :

                                            •--- Search behaviour -----------------------------------------•
                                            |                                                              |
                                            |  [ ]  Search in 'Name' column only                           |
                                            |  [ ]  Search in 'Path' Column only                           |
                                            |                                                              |
                                            |  [ ]  Prefer filename over path                              |
                                            |                                                              |
                                            |  [ ]  Search in current file folder ( Top directory only )   |
                                            |       [ ] Search in sub directories too                      |
                                            |                                                              |
                                            |  [ ]  Fuzzy search (Tabs only) - Tolerance <Drop-down> list  |
                                            |                                                              |
                                            |  [ ]  Search menu commands (experimental)                    |
                                            •--------------------------------------------------------------•
                                            

                                            Note that :

                                            • If none of these new options Search in 'Name' column only and Search in 'Path' column only is ticked by the user, it would automatically tick the Search in 'Name' column only option

                                            • Of course, the Prefer filename over path option would be functional ONLY IF, both, the two new options are checked. If NOT, the Prefer filename over path option would be greyed out !

                                            Nevertheless, I don’t know if this enhancement could perturb the Fuzzy search feature ?


                                            To end with, the new Fuzzy search seems very powerful. However, after reading the Wikipedia article on that topic, I did not understand all the process. In some cases, I could get the same number of results with regexes but not in all the cases ;-))

                                            So, could you provide us with some more hints on this surprising search method and its logic ?

                                            Best Regards,

                                            guy038

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