Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Kate Kate
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 26
    • Issues 26
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • UtilitiesUtilities
  • KateKate
  • Merge requests
  • !176

Allow / separated pattern to filter same filename across different directories

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Waqar Ahmed requested to merge work/quickopenpath into master Jan 14, 2021
  • Overview 4
  • Commits 2
  • Pipelines 0
  • Changes 2

Suppose you have the following dir structure:

abc/main.cpp
def/main.cpp

Using quickopen it is very difficult to find the main.cpp that you want. This is because we remove the filename from the path so the filter doesn't work if you try for e.g "ab/ma".

For now, I have made it so that the filename is always present in the path but is removed during display. This allows for more flexible filtering.

I have also included an optimization for the case where you have too many rows and you select something from very bottom. This was resulting in too many unnecessary "sizeHint" calculations.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/quickopenpath