Slack for VSCode – interesting extension I’m playing around which allows you to select some piece of the code and send it to your slack channel directly from editor. Indeed code highlight is missing and channel selection could be more smart, but definitely worth a try.
VSCode Slack extension: to send snippets directly from your code
1