Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • TortoiseGit TortoiseGit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 382
    • Issues 382
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TortoiseGitTortoiseGit
  • TortoiseGitTortoiseGit
  • Issues
  • #2731
Closed
Open
Issue created Mar 14, 2016 by Kurt Prünner@KernelLeak

Improved autolist.txt regex for C# files

What steps will reproduce the problem?

  1. Commit a C# source file with a method using generics (i.e. public IQueryable<Person> GetSearch(PersonSearchModel model))
  2. Type "Get" in the commit message to trigger the completion dropdown.

What is the expected output? What do you see instead?

Seeing "GetSearch" in the dropdown, but it doesn't show up because the C# regex in autolist.txt is too basic to handle several kinds of return type (generics and arrays, at least) correctly.

What version of TortoiseGit and Git are you using? On what operating system?

TortoiseGit 2.0.0.0
git version 2.7.2.windows.1
Windows 7 Enterprise

Please provide any additional information below.

I've attached an updated autolist.txt with an updated ".asp, aspx, .cs" regex that I've been using with both TortoiseSVN and TortoiseGIT for over a year now and which hopefully also handles generics and arrays as return values as well as properties and probably a few other things that I've since forgotten correctly.

autolist.txt

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking