sublime-slack-integration icon indicating copy to clipboard operation
sublime-slack-integration copied to clipboard

Send name of opening/closing of file to Slack?

Open appel opened this issue 9 years ago • 2 comments

Great plugin, thank you! Is there any way I can send the file name of a file I just opened/closed in ST to a Slack channel? We (our team) currently do this by sending the name of the file via hangouts manually: *filename.php for when we open a file, / for when we've closed it, and // for when we've closed all files pertaining to a project. If we could somehow automate that that would be awesome...

appel avatar Apr 22 '15 19:04 appel

I'm not usre I understand the request.

You want to send the name of the last opened file to someone via slack?

simion avatar Apr 24 '15 07:04 simion

Sorry if I wasn't clear. I would like to have the plugin automatically send the name of the file I just opened and/or closed to a channel of my choosing.

So, for example, i would have a #filelog channel in Slack that would look sort of like this:

appel BOT [15:54]
Opened path1/to/index.php

simion BOT [16:14] 
Opened path1/to/contact.php
Opened path2/to/map.php

*appel BOT [16:15] 
Closed path1/to/index.php

Is something like this possible?

Thanks!

appel avatar Apr 24 '15 17:04 appel