• 0
    • We collect Bitbucket feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      Right now "Search code" in diffs returns search results only for the lines that are in the context lines surrounding changes (10 lines before and after the changed line). If you have a large file with thousands of lines, which has majority of lines laying outside of the change context, then "Search code" results can be misleading, as it won't return any matches outside of changed lines.

          Form Name

            [BSERV-14049] "Search code" in diff must search across all file lines

            sischnei added a comment -

            This is one of my biggest pain points in Bitbucket right now. In basically all PRs I first have to expand all the hidden areas (Shift+Click) in order to be able to use the native browser search and get all the results. I know that there is also a global code search in the file list sidebar, which I do use if I don’t know in which file my search term appears, but for me it is often more distracting from the file I’m currently reviewing.

            sischnei added a comment - This is one of my biggest pain points in Bitbucket right now. In basically all PRs I first have to expand all the hidden areas (Shift+Click) in order to be able to use the native browser search and get all the results. I know that there is also a global code search in the file list sidebar, which I do use if I don’t know in which file my search term appears, but for me it is often more distracting from the file I’m currently reviewing.

              Unassigned Unassigned
              agenkin Anton Genkin (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: