Provide configuration options for the number of code fragments returned from a search

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Unresolved
    • None
    • Component/s: Search
    • None
    • 9
    • 6

      Current behaviour

      • When a search is performed, up to 3 fragments of code will be returned for a given file that contains content that match the search query
      • Each of these fragments can contain multiple occurrences of the search string
      • Each of these fragments is a chunk of up to 1400 characters
      • The maximum number of fragments is currently set to 3. This setting is not configurable.
      • If there were more occurrences of the search term outside of these 3 fragments, they will not be retuned as search matches.

      Sample:

      • 2 files were found containing the search string "gitactivity"
      • the first file shows 3 fragments showing multiple occurrences of the term. other occurrences of the term outside of these 3 fragments are not shown.

      New feature request

      • Provide the ability to configure the maximum number of fragments returned for code search to be able to show more results

        1. sample_screenshot.png
          155 kB
          JP Mariano

              Assignee:
              Unassigned
              Reporter:
              JP Mariano
              Votes:
              15 Vote for this issue
              Watchers:
              16 Start watching this issue

                Created:
                Updated: