You tired of copying your code then going to Slack to copy it only to realize that it doesn't automatically format code? That you have to manually push the little paperclip in the corner, select "Create new...", click on "Code or text snippet", then you have to paste, select the right format for your code because Slack's automatic code detection SUCKS?
Rejoice, there's a solution for you! Just highlight the code you want to send, bring up the Command Palette, type "VCSlack", pick your team and channel, all fuzzyfind searchable, and off you go! No need for your hands to leave the keyboard.
Features
🔂 Automatic sending of file if nothing highlighted
🤟 Sends highlighted editor text
📍 Shows the workspace and relative path of file so your coworkers can find it
🧠 Syntax Detection and syntax normalization for Slack
🔥 Fast! Cached in VSCode on every load
🕺💃🧚♀️ Support for multiple Slack teams
Installation
Open command palette ([Shift] + [CMD(⌘)/Ctrl] + [P])