Skip to content

ShubhamPatilsd/vslackstatus

Repository files navigation

VSlackStatus

Update your Slack status based on your activity in VSCode

Installation

https://marketplace.visualstudio.com/items?itemName=ShubhamPatil.vslackstatus

The One Singular Feature

  • Show what file and what workspace you are working in on your Slack status
  • Ex: Editing package.json in advent_of_code_2022

Requirements

  1. You need an emoji in your Slack workspace called :vsc: with the VSCode icon for the status to work if you want this to work out of the box. You can configure the specific code you want in the settings.

  2. You need a Slack User Token and a Signing Secret.

Go to https://api.slack.com/apps/ and press that shiny "Create New App" button

Select the from "From Scratch" option:

Input the name (just make something up) and input workspace that you want the extension to update your profile in:

Copy the Signing Secret on this section of the resulting page:

Navigate to the "OAuth & Permissions" section of the sidebar:

Scroll down to the "User Token Scopes" section:

Add the following scopes:

Scroll up to the "OAuth Tokens for Your Workspace" section and hit the "Install to Workspace" button:

Accept on the following screen:

Copy the User OAuth Token from the "OAuth Tokens for Your Workspace" section on the page that it redirects to:

Navigate over to VSCode. Open the settings page (`Ctrl+,` or `Cmd+,`). Type `"vslackstatus"` in the search bar.

Here, you will see two boxes corresponding to the Signing Secret and the User Token. Input the credentials that you copied from the previous steps here and press enter in each box.

Restart VSCode and you're good to go!

Extension Settings

  • vslackstatus.userToken: Slack User Token
  • vslackstatus.signingSecret: Slack Signing Secret
  • vslackstatus.emojiCode: Slack emoji code you want to use (e.g. :vsc:, :vscode:). Defaults to :vsc:

Made for the Hack Club Community


This extension was created for members of the Hack Club Slack. However, anyone is able to use it for their own workspaces!

What is Hack Club?

Hack Club is a community of 20k+ teen coders from around the world. Join our Slack to gain access to this community and talk with some really cool people!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published