Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>VSCode 2 SlackNew to Visual Studio Code? Get it now.
VSCode 2 Slack

VSCode 2 Slack

siesing

|
2,489 installs
| (5) | Free
Post messages, code, files etc. from VSCode to Slack.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode 2 Slack - a more personal extension

Ever felt that you're in a flow and don't want to stop coding, but you need to send someone a message or turn off notifications to stay in that flow? Ever felt the need to ask a colleague/friend a question about a certain piece of code? Look no further we've got you covered!

Sends messages and files like yourself, including your username and avatar, to users, channels, and groups with full editing capabilities in Slack.

Support for multiple Workspaces.

Enjoy! 👍

  • Features
  • Installation
  • Extension Settings
  • Keyboard Shortcuts
  • Screenshots
  • Contributors

Features

Key Features

  • Send messages and files to users, channels, and groups like yourself, including your username and avatar.

  • Looks like and behaves like regular Slack messages.

  • Full editing capabilities in Slack of sent messages and files.

  • Support for multiple Workspaces.

Send Messages Based On:

  • User input.
  • Text selection.

Uplod Files:

  • Files from File Explorer.
  • Current open file in editor.

Notifications:

  • Set new or change existing snooze time of notifications.
  • End snoozing of notifications.
  • Check the snooze status.

Installation

Install by openening Visual Studio Code and press Ctrl+Shift+X or Cmd+Shift+X to open the Extensions pane and search for VSCode 2 Slack.

Extension Settings

Set your custom settings under User Settings (File > Preferences > User Settings) or by pressing Ctrl+, or Cmd+,.

"slack.workspaces": [{
    "token": "<workspace token>"
}],
"slack.actionNotificationDisplayTime": <time in ms>

Settings:

  • slack.workspaces *(required)*
    You find your token(s) here https://api.slack.com/custom-integrations/legacy-tokens.

To use a single Slack workspace.

"slack.workspaces": [{
    "token": "<workspace token>"
}]

To use multiple Slack workspaces.

"slack.workspaces": [{
    "token": "<workspace 1 token>"
},{
    "token": "<workspace 2 token>"
},{
    "token": "<workspace 3 token>"
}]

To enable a specific list of channels or users.

"slack.workspaces": [{
    "token": "<workspace 1 token>",
    "includedUsers": [
        "<user name 1>",
        "<user name 2>"
    ],
    "includedChannels": [
        "<channel name 1>",
        "<channel name 2>"
    ]
}]
  • slack.token *(DEPRECATED)*
    Use the above slack.workspaces instead.
  • slack.actionNotificationDisplayTime
    Notifications display time in ms. Default is 5000, i.e. 5 sec.

Keyboard Shortcuts

Action Windows Mac
Send Message ctrl+u m cmd+u m
Send Selection ctrl+u s cmd+u s
Set/Change Snooze ctrl+u z cmd+u z
End Snooze ctrl+u e cmd+u e
Check Snooze Status ctrl+u d cmd+u d

Screenshots

Post a message.

Usage

Post a selection.

Usage

Post file from File Explorer.

Usage

Set and check snooze.

Usage

If you've added multiple workspaces you'll get this additional selection where you choose the workspace.

Usage

Contributors

A big thanks 🙏❤ to:

  • Ray McClain (@ReiMcCl)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft