Problem Statement: We sometime leave todo, because we don't exactly know how to do it or are blocked by someone else working on dependency. A novel way to solve this?
POC: User installs an extension in VS Code & get live help from some other team mate over slack.
For easy usage add a key binding in File > Preferences > Keyboard Shortcuts
// Place your key bindings in this file to overwrite the defaults
[
{"key": "ctrl+shift+t", "command": "extension.todofyLive", "when": "editorTextFocus"}
]
This will make sure extension is triggered when you press ctrl + shift + t
"Todofylive.SlackBot": {
"APIToken": "<SlackAPIToken>",
"EndPoint": "http://127.0.0.1:8080/todofylivepoc",
"EndPointPoll": "http://127.0.0.1:8080/todofylivepocpoll",
"Channel": "<SlackChannel>",
"Team": "<slack Team Name>"
}
As of now we have added support for custom integration. So follow these steps
-
Create a slack channel, for example:
todofylivehelp
, remember this name asSlackChannel
-
Go to
Options > App & Integrations
and on the top right click onbuild
. -
Select
bot
, give bot a cool name liketodofybot
, it's a must. Note down theAPI Token
, don't share it with anyone. Remeber this asSlackAPIToken
. -
What this bot does:
super cool stuff
-
Channels: that's what we need to set. Click on
Save Integration
-
Go to homepage (channel) >
todofylivehelp
or whatever is theSlackChannel
&Invite Others to this channel
& selecttodofybot
- Go to SlackBot
npm install
node index.js