felipecaputo/git-project-manager

The first time search is too slow

Closed this issue · 2 comments

wmzy commented

Here is my config:

{
  "gitProjectManager.baseProjectsFolders": [
        "/home/xxx/project",
        "/home/xxx/.golang/src"
    ],
    "gitProjectManager.ignoredFolders": [
        "node_modules",
        "vendor"
    ],
    "gitProjectManager.maxDepthRecursion": 3,
    "gitProjectManager.recentProjectsListSize": 10,
    "gitProjectManager.searchInsideProjects": false,
    "gitProjectManager.storeRepositoriesBetweenSessions": true
}
➜  src ls -d */*/*/ | wc -l
94

➜  project ls | wc -l          
63

Hi @wmzy , could you add to your config

"gitProjectManager.checkRemoteOrigin": false

This option is used to avoid running a git command for each repo to get its origin url

wmzy commented

It works! Thanks!