Vscode Slack



Extension for Visual Studio Code - Send messages and files to Slack from Visual Studio Code. Slack’s built-in code snippets offer basic support for sharing code but apps like Cacher offer improved versions, while Github offers an array of options. Sober is another app for Slack and calls up code from your Github files in Slack directly. Was this tip useful?

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.

Requestly Desktop App Requestly Desktop is now LIVE in beta for Mac.

Support for multiple Workspaces.

Enjoy! 👍

Features

Key Features

Slack
  • 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:

Vscode Slack Theme

  • 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+,.

Settings:

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

To use a single Slack workspace.

To use multiple Slack workspaces.

To enable a specific list of channels or users.

  • slack.token *(DEPRECATED)*
    Use the above slack.workspaces instead.
  • slack.actionNotificationDisplayTime
    Notifications display time in ms. Default is 5000, i.e. 5 sec.

Vscode Slack Theme

Keyboard Shortcuts

ActionWindowsMac
Send Messagectrl+u mcmd+u m
Send Selectionctrl+u scmd+u s
Set/Change Snoozectrl+u zcmd+u z
End Snoozectrl+u ecmd+u e
Check Snooze Statusctrl+u dcmd+u d

Screenshots

Post a message.

Vscode Slacker

Post a selection.

Vscode

Post file from File Explorer.

Set and check snooze.

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

Contributors

A big thanks 🙏❤ to:

Vscode Slack Channel

  • Ray McClain (@ReiMcCl)