Gruntfuggly / activitusbar

A VSCode extension to save some real estate by recreating the activity bar buttons on the status bar
Other
114 stars 15 forks source link

[Question] Any way to add an icon to open settings.json? #49

Closed futuremotiondev closed 2 years ago

futuremotiondev commented 2 years ago

I've tried:

{
     "name": "workbench.action.openSettingsJson",
     "codicon": "gear"
},
{
     "name": "action.openSettingsJson",
     "codicon": "gear"
},
{
     "name": "openSettingsJson",
     "codicon": "gear"
},

I also noticed in the keyboard shortcuts there seems to be commands that already can do this?

activitusbar.showToggleOpenSettingsJsonViewView activitusbar.toggleToggleOpenSettingsJsonViewView

None work. Any ideas?

futuremotiondev commented 2 years ago

Nevermind! I got it to work with:

{
     "name": "command.workbench.action.openSettingsJson",
     "codicon": "gear"
},

Sorry for the useless post.

Gruntfuggly commented 2 years ago

Was just about to post that answer! 🙂