Community
    • 登入

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

    已排程 已置頂 已鎖定 已移動 Help wanted · · · – – – · · ·
    14 貼文 4 Posters 3.6k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • VijayPrabakarV
      VijayPrabakar
      最後由 編輯

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

      1 條回覆 最後回覆 回覆 引用 -1
      • VijayPrabakarV
        VijayPrabakar
        最後由 編輯

        Can I get the update on this

        Alan KilbornA 1 條回覆 最後回覆 回覆 引用 -1
        • Alan KilbornA
          Alan Kilborn @VijayPrabakar
          最後由 編輯

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

          Can I get the update on this

          Perhaps someone would comment, but I’m guessing that nobody understands what this means:

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

          1 條回覆 最後回覆 回覆 引用 0
          • VijayPrabakarV
            VijayPrabakar
            最後由 編輯

            ``
            Two things

            1. There is no shortcut key for backward search in find
            2. How to ignore specific path from searching in find in files in notepad++
            Alan KilbornA PeterJonesP 2 條回覆 最後回覆 回覆 引用 0
            • Alan KilbornA
              Alan Kilborn @VijayPrabakar
              最後由 編輯

              @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 條回覆 最後回覆 回覆 引用 3
              • PeterJonesP
                PeterJones @VijayPrabakar
                最後由 編輯

                @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 條回覆 最後回覆 回覆 引用 2
                • VijayPrabakarV
                  VijayPrabakar
                  最後由 編輯

                  ``

                  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 條回覆 最後回覆 回覆 引用 0
                  • Alan KilbornA
                    Alan Kilborn @PeterJones
                    最後由 編輯

                    @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 條回覆 最後回覆 回覆 引用 1
                    • Alan KilbornA
                      Alan Kilborn @VijayPrabakar
                      最後由 編輯

                      @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 條回覆 最後回覆 回覆 引用 1
                      • VijayPrabakarV
                        VijayPrabakar
                        最後由 編輯

                        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 條回覆 最後回覆 回覆 引用 0
                        • Alan KilbornA
                          Alan Kilborn @VijayPrabakar
                          最後由 編輯

                          @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 條回覆 最後回覆 回覆 引用 2
                          • VijayPrabakarV
                            VijayPrabakar
                            最後由 編輯

                            ``
                            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 條回覆 最後回覆 回覆 引用 0
                            • EkopalypseE
                              Ekopalypse @VijayPrabakar
                              最後由 編輯

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

                              1 條回覆 最後回覆 回覆 引用 0
                              • PeterJonesP
                                PeterJones @Alan Kilborn
                                最後由 編輯

                                @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 條回覆 最後回覆 回覆 引用 2
                                • 第一個貼文
                                  最後的貼文
                                The Community of users of the Notepad++ text editor.
                                Powered by NodeBB | Contributors