simion / sublime-slack-integration

A ST3 plugin which sends messages, code selections and files to slack.com channels/groups/users.
http://simionbaws.ro/sublime-text-3-slack-integration-plugin/
GNU General Public License v2.0
70 stars 7 forks source link

Send name of opening/closing of file to Slack? #4

Open appel opened 9 years ago

appel commented 9 years ago

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...

simion commented 9 years ago

I'm not usre I understand the request.

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

appel commented 9 years ago

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!