alefragnani / vscode-project-manager

Project Manager Extension for Visual Studio Code
GNU General Public License v3.0
1.92k stars 226 forks source link

[FEATURE] - Add a setting for opening the extension on startup #685

Open ahmadi3d opened 1 year ago

ahmadi3d commented 1 year ago

Hello I really enjoy using this extension and use it frequently. However, I have noticed that every time I open VS Code, I need to manually click on the extension to open its panel. It would be very convenient if there was a setting that allowed the extension to automatically open upon VS Code startup. I believe this feature would greatly improve user workflow and save time. Thank you for considering my suggestion.

alefragnani commented 1 year ago

Hi @ahmadi3d ,

VS Code has a restore feature that will bring back the state you had when you closed a window. So, if you left Project Manager view focused when closing the window, it should bring back when you reopen that window. Creating a setting like you described could break this native behavior.

Also, there is no way to define an order to which extension should be initialized first. With that in mind, even with such setting, any other extension that does the same thing, could override the focused view, and the feature wouldn't work properly.

That being said, yes, at first sight it seems doable, so I'll let the issue open expecting more feedback from you and other users.

Thanks for your suggestion.