Community
    • Login

    SHort cut key to backward search Ignore specific path in the find in files option

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    14 Posts 4 Posters 3.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.
    • Alan KilbornA
      Alan Kilborn @VijayPrabakar
      last edited by

      @vijay-S said in SHort cut key to backward search Ignore specific path in the find in files option:

      There is no shortcut key for backward search in find

      Yes there is:
      If your input focus is in the main editor windows, the default shortcut key for it is Shift+F3.
      If your input focus is in the Find window, then Shift+Enter is your shortcut key.

      How to ignore specific path from searching in find in files in notepad++

      Presume (because you really don’t like to take the effort to fully describe your situation) that you mean you specify a path like this in the Directory: box:

      c:\foo\

      and you have other folders like this:

      c:\foo\bar1
      c:\foo\bar2
      c:\foo\bar3

      and you don’t want to include bar2 and its files/subfolders in your search.

      The way to accomplish that is to temporarily hide the bar2 folder and then make sure the option to search In hidden folders is unticked.


      If you mean something different, then please, use some words and describe what you mean.

      1 Reply Last reply Reply Quote 3
      • PeterJonesP
        PeterJones @VijayPrabakar
        last edited by

        @vijay-S ,

        Your original statement was about the Find in Files, not the Find dialog. That doesn’t have a Backward direction toggle, because Find in Files only has a Find All, so the forward vs. backward is meaningless.

        In the Find dialog, you are correct, there is no shortcut key to toggle the Backward direction checkbox directly. However, if clicking the mouse is that onerous to you, that field is only two TAB presses from the Find what box, so you could do Alt+F to get to the Find what, then hit TAB twice; from there, SPACEBAR will toggle the checkbox. (Or it’s one TAB from In Select_i_on, or one Shift+TAB from Match _w_hole word only – though both of those would toggle an extra checkbox if you used those shortcuts.)

        • If you are trying to make a feature request, this FAQ explains where such things are better presented. However, I suggest working on your phrasing if you make a request there, because you have not made it easy for us to understand what you want. The phrasing I would suggest when you follow those instructions is, “In the Find dialog, the Backward direction checkbox doesn’t have an accelerator key (keyboard shortcut), unlike most of the other fields, buttons, and checkboxes in the dialog. Could you please add an accelerator key for the Backward direction checkbox? Thank you.” If you do make an issue, be sure to include all the elements of the template that they provide when you create the issue.

        As to your second question, that is a “how to” question, and is thus well-suited for this forum.

        • In case you didn’t know, the npp-user-manual.org documentation has three paragraphs on “Find in Files” dialog, which includes instructions on how to use the Filter to exclude files that you don’t want to search.
        Alan KilbornA 1 Reply Last reply Reply Quote 2
        • VijayPrabakarV
          VijayPrabakar
          last edited by

          ``

          I dont see any thing related to exclude folders rathar I found Exclude files in the given link for the second Item.
          ``

          Alan KilbornA 1 Reply Last reply Reply Quote 0
          • Alan KilbornA
            Alan Kilborn @PeterJones
            last edited by

            @PeterJones said in SHort cut key to backward search Ignore specific path in the find in files option:

            In the Find dialog, you are correct, there is no shortcut key to toggle the Backward direction checkbox directly.

            Ah, that’s a bit of a different interpretation of the need than mine.
            Of course, if posters would describe their need better, there would be less interpreting.
            If Peter’s interpretation is correct, there’s an easy way to solve it.
            Just edit the localization file and add a & character in front of the character you want to use to access the control.
            Say you wanted to use the “b” in Backward direction.
            Then you’d edit your localization file (e.g. english_customizable.xml) and change the text concerning this control so that it appears like this &Backward direction.
            Then select (or re-select) english_customization.xml in the Preferences for Localization and, after all that, alt+b should allow you quick access to the direction control.
            Note: I don’t know if “b” is already used on the Find page, but, if it is, you’d have to pick another character to use for this purpose, because if multiple things are tied to the same thing, the result is undefined.

            1 Reply Last reply Reply Quote 1
            • Alan KilbornA
              Alan Kilborn @VijayPrabakar
              last edited by

              @vijay-S said in SHort cut key to backward search Ignore specific path in the find in files option:

              I dont see any thing related to exclude folders rathar I found Exclude files in the given link for the second Item.

              This is correct; you can’t use that mechanism to exclude folders, only files.

              1 Reply Last reply Reply Quote 1
              • VijayPrabakarV
                VijayPrabakar
                last edited by

                I updated the file as you said. But not reflecting. I am not sure on how to select / reselect as I have only one localization as English in the drop down

                Alan KilbornA 1 Reply Last reply Reply Quote 0
                • Alan KilbornA
                  Alan Kilborn @VijayPrabakar
                  last edited by

                  @vijay-S

                  I have only one localization as English in the drop down

                  @PeterJones
                  Do you know why this is for some people?
                  Does the installer ask and then only install one localization (the one chosen)?
                  I don’t use the installer, and portable always includes all localizations.

                  PeterJonesP 1 Reply Last reply Reply Quote 2
                  • VijayPrabakarV
                    VijayPrabakar
                    last edited by

                    ``
                    Even English_customizable.xml chosen it didnt work.

                    I tried in different machine
                    ``

                    what is the way to make it work after selecting english_customizable.xml

                    EkopalypseE 1 Reply Last reply Reply Quote 0
                    • EkopalypseE
                      Ekopalypse @VijayPrabakar
                      last edited by

                      @vijay-S
                      can you post your debug-info from the ? menu ?

                      1 Reply Last reply Reply Quote 0
                      • PeterJonesP
                        PeterJones @Alan Kilborn
                        last edited by

                        @Alan-Kilborn said in SHort cut key to backward search Ignore specific path in the find in files option:

                        Does the installer ask and then only install one localization (the one chosen)?

                        Yes, the installer only installs one language by default (I rarely have used the installer, so I forget whether it can optionally do more)… That’s why https://npp-user-manual.org/docs/binary-translation/ says to download the additional language files yourself if you want more translations available.

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