Slack Status Updater for VSCode
Automatically update your Slack status to show what file and workspace you're currently working on in VSCode.
Example status: "Editing analysis.py in MyProject" :computer:
Features
- Automatically updates your Slack status when you switch files
- Shows both the filename and workspace name
- Clears your status when VSCode closes
- Configurable emoji
- Can be enabled/disabled without uninstalling
Setup
1. Create a Slack App
- Go to https://api.slack.com/apps/
- Click "Create New App"
- Select "From Scratch"
- Name your app (e.g., "VSCode Status") and select your workspace
- Click Create App
- In your app's settings, go to "OAuth & Permissions" in the left sidebar
- Scroll down to "User Token Scopes"
- Click "Add an OAuth Scope" and add:
users.profile:write
users.profile:read
3. Install the App to Your Workspace
- Scroll up to "OAuth Tokens for Your Workspace"
- Click "Install to Workspace"
- Click Allow on the permission screen
- Copy the User OAuth Token (starts with
xoxp-)
- Open VSCode Settings (Ctrl+, or Cmd+,)
- Search for "slackStatus"
- Paste your User OAuth Token into Slack Status: User Token
- Optionally change the emoji in Slack Status: Emoji (default is
:computer:)
5. Restart VSCode
Restart VSCode and your Slack status should start updating automatically!
Extension Settings
| Setting |
Description |
Default |
slackStatus.userToken |
Your Slack User OAuth Token (starts with xoxp-) |
(empty) |
slackStatus.emoji |
The emoji to display with your status |
:computer: |
slackStatus.enabled |
Enable or disable automatic status updates |
true |
Troubleshooting
Status not updating?
- Make sure your token is correct (starts with
xoxp-)
- Check that the extension is enabled in settings
- Verify your Slack app has the required scopes (
users.profile:write, users.profile:read)
- Try reinstalling the app to your workspace to refresh the token
Invalid token error?
Your token may have expired or been revoked. Go to your Slack app's OAuth & Permissions page and reinstall the app to get a new token.
Privacy
This extension only sends your current filename and workspace name to Slack. It does not collect or transmit any other data.
License
MIT
| |