felipecaputo / git-project-manager

A Git Project Manager extension for vsCode
MIT License
96 stars 34 forks source link

If baseProjectsFolders has only 1 value use it as default. #64

Closed timlogemann closed 6 years ago

timlogemann commented 6 years ago

I store all my git projects inside ~/projects. So naturally for me I don't need to select the projects folder as I've provided it to GPM and it's the only one, it would be a nice enhancement if this value would be accepted without needing me to confirm it once more in the dialog.

Steps to reproduce:

  1. Install GPM
  2. install one or several git repositories in a single location e.g: ~/projects/
  3. set "gitProjectManager.baseProjectsFolders": [ "~/Projects/" ], in the VSCode user prefs
  4. Hit ctrl+alt P
  5. See GPM fail to recognize there's only project folder and hit enter manually to select the projects folder
felipecaputo commented 6 years ago

Hi @timlogemann, when you press Ctrl+Alt+P it ins't listing all projects inside the ~/Projects folder?

There are 2 Commands:

felipecaputo commented 6 years ago

@timlogemann Is this still a problem to you?

timlogemann commented 6 years ago

I've taken a look, turns out it was a conflicting extension why Ctrl+alt+P did not work. Disabled the other package and now works fine!

You can close this one. Thanks!

On Thu, Apr 5, 2018, 21:04 Felipe Caputo notifications@github.com wrote:

@timlogemann https://github.com/timlogemann Is this still a problem to you?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/felipecaputo/git-project-manager/issues/64#issuecomment-379043596, or mute the thread https://github.com/notifications/unsubscribe-auth/AOc-vudF_b1P3ttGpmEQupVxP-9ZIyeDks5tlmrJgaJpZM4Rx89H .

felipecaputo commented 6 years ago

Thanks for your feedback. If you need anything else, you can open it again!!