Add something fun to the VS Code status bar
- Add a statusBarItem.text in /src/extension.ts
statusBarItem.text = `<add-something-cool-here>`;
- Take note of commands created in /package.json
"contributes": {
"commands": [
{
"command": "fun.start",
"title": "Add to status bar"
},
{
"command": "fun.end",
"title": "Remove from status bar"
}
]
},
- Follow the instructions in /vsc-extension-quickstart.md to test the extension
- Publish your extension
- Enjoy! ๐
-
Open the VS Code command pallette
- Windows/Linux Control+Shift+P
- Mac Command+Shift+P
-
Enter command
Add to status bar
orRemove from status bar