Closed xthdraft closed 5 years ago
Hi @xthdraft ,
I think you are mixing two different things here. What you described is how to manage “any extension setting”, which stores things in settings.json
. The projects.json
file is where this extension stores the projects you saved (more info down). I suggest you invest a bit of time reading VS Code documentation about settings, so you can have a better understanding on how VS Code works. You will see, for instance, that no extension adds any item to the “main menu”.
To use the extension itself I suggest you to read the README file, but TL;DR...
Project Manager: Save Project
to save this folder as a Favorite Project Manager: List Projects to Open
command and select the desired project from the list.Hope this helps
Sorry to be obtuse, but I opened a folder from VS Code File menu, but can't then see any item on any menu which says "Project Manager: Save Project." There are items on the VS Code File menu saying "Save as" and "Save workspace as.." Do I click on one of those?
On Wed, Aug 21, 2019 at 8:01 AM Alessandro Fragnani < notifications@github.com> wrote:
Closed #296 https://github.com/alefragnani/vscode-project-manager/issues/296.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/alefragnani/vscode-project-manager/issues/296?email_source=notifications&email_token=AAYIZOTSLCVONMW6Z72GXWDQFRSURA5CNFSM4IN5DXT2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOTFAXVLA#event-2571205292, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYIZOQZQJXDXCUJLAKJW6LQFRSURANCNFSM4IN5DXTQ .
No need to be sorry 👍
There is no menu item, you have to use the Command Palette
, which you open using F1
, Ctrl + Shift + P
, or menu Go / Command Palette
(if I remember correctly)
VS Code does not allow extensions to add Menu Items to the Application, neither Buttons (as you can see, there is no toolbar in VS Code). It’s a typings first editor, like Sublime, and it uses the same approach. The commands that are available, will be available primarily in Command Palette
. There are a few UI elements that the team added throughout the years, and In my case, I added a Side Bar with a few buttons and context menus (recent API available). You can use that too.
Hope this helps
Thanks so much, opening the command palette clears everything up, and I am now good to go.
I'd like to respectfully comment on your readme file. For someone with no prior experience of vs code (myself), it's not clear from your readme that one must open the command palette to understand into your program. A complete newbe wouldn't know anything about a "command palette". Perhaps you could make that step more explicit in your readme setup instructions.
Anyway, I'm really looking forward to using your extension, as vcode needs this functionality.
best regards.
On Wed, Aug 21, 2019 at 8:12 PM Alessandro Fragnani < notifications@github.com> wrote:
No need to be sorry 👍
There is no menu item, you have to use the Command Palette, which you open using F1, Ctrl + Shift + P, or menu Go / Command Palette (if I remember correctly)
VS Code does not allow extensions to add Menu Items to the Application, neither Buttons (as you can see, there is no toolbar in VS Code). It’s a typings first editor, like Sublime, and it uses the same approach. The commands that are available, will be available primarily in Command Palette. There are a few UI elements that the team added throughout the years, and In my case, I added a Side Bar with a few buttons and context menus (recent API available). You can use that too.
Hope this helps
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/alefragnani/vscode-project-manager/issues/296?email_source=notifications&email_token=AAYIZOUKJ3SGEZLZPOPMVD3QFUIIXA5CNFSM4IN5DXT2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4ZFN3Y#issuecomment-523392751, or mute the thread https://github.com/notifications/unsubscribe-auth/AAYIZOVKVH4BYTZ4KPO6GTTQFUIIXANCNFSM4IN5DXTQ .
The extension is listed as active, and when I click the manage icon then "configure extension settings", a list of 24 items appears. Some of these direct me to "edit in settings.json". I can see no reference to projects.json, nor can I find such a file anywhere on my hard drive. Consequently I have no idea how to open this extension.
Clicking on the extension name in the extension panel just opens the extension's information page in github.
I thought an install would place the extension in vs code's main file menu. But it doesn't seem to in my case. Have I done something wrong?