Install Music Time from the Visual Studio Code extension marketplace. Follow the instructions in the marketplace to connect Spotify and set up your Software account.
Open Visual Studio Code. Open the command palette and enter the command Music Time: Connect your Slack account.
Once Slack is connected to your account, simply hover over any song in your playlists and click the share icon. Select Slack from the dropdown menu, choose a channel, and enter a message.
Music Time will automatically send your message in Slack with a link to your song.