Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - When close the favourites menu, it can't be restored #656

Closed
vieiraes opened this issue Nov 29, 2022 · 7 comments
Closed

[BUG] - When close the favourites menu, it can't be restored #656

vieiraes opened this issue Nov 29, 2022 · 7 comments

Comments

@vieiraes
Copy link

Environment/version

  • Extension version:
  • VSCode version:
  • OS version:

Steps to reproduce

@alefragnani
Copy link
Owner

Hi @vieiraes ,

Please, could you provide more details?

Thank you

@nathanstone
Copy link

@alefragnani, I'm also experiencing an issue similar to @vieiraes where I'm missing all menus besides favorites (Git, Any, etc). I do not have steps to reproduce unfortunately, but attached is a screenshot of the project manager interface showing the missing options.

Environment/version

  • Extension version: v12.7.0
  • VSCode version: 1.74.2
  • OS version: macOS Ventura 13.1, M1 Max chip

any

@alefragnani
Copy link
Owner

Hi @nathanstone ,

I'm not sure why Views / Favorites is disabled, since this menu is controlled by VS Code itself. In fact, I never noticed such behavior on any of my extensions.

The Git, Any and other menus/panels are available only if you defined the equivalent projectManager.XXX.baseFolders setting, and some project is located. If you defined such settings, I suggest you to reset the views location, using the View: Reset View Locations command, as it would restore the panels to the Project Manager Side Bar.

Hope this helps

@nathanstone
Copy link

Hi @alefragnani,

Thanks for getting back to me, this helped me figure it out. It looks like the baseFolders setting does not appreciate a ~ in the paths listed. For example, here was my previous config:

"projectManager.any.baseFolders": [
  "~/Sites"
]

However, as soon as I updated it to the following the Any and Git options reappeared:

"projectManager.any.baseFolders": [
  "/Users/whatever/Sites"
]

This is strange because everything was working until recently, and my settings had always been the former. Also, after I changed the setting to the full path, I could change it back to the former and the options would still be available. I was able to replicate the issue by completely deleting the setting, then re-adding it using the ~ path shortcut. The options failed to appear again until I change the setting back to the full path.

@alefragnani
Copy link
Owner

Hi @nathanstone ,

That's weird. I use the same ~ approach, and has no issue. And the extension itself hasn't received any update since September.

Maybe something OS related? Could you take a look if some error appears in the Console, using Developer: Toggle Developer Tools? If yes, please, open a new issue with the details.

Based on this report, I'm thinking of displaying the related panel, even if no project is located, so the user will be sure the extension searched for projects

Thank you

@alefragnani
Copy link
Owner

I'm closing this issue because no new comments (from the original post) has been added since my first question.
Feel free to reopen/comment if the error still occurs.

Thanks for your understanding

@alefragnani alefragnani closed this as not planned Won't fix, can't repro, duplicate, stale Jan 17, 2023
@kantesilvestrsEvidentStudio

I'm having exactly the same issue and I haven't done any settings changes to Project Manager extension. Only time the Git tab is available is when I disable and re-enable the extension, and it disappears again after opening project in a new window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants