[TxMt] Re: WakaTime

Gerd Knops gerti-textmate at bitart.com
Tue Jan 13 23:15:26 UTC 2015


> On Jan 13, 2015, at 4:45 PM, Steven Clukey <saclukey at live.com> wrote:
> 
> Well, TM doesn’t yet support calling command upon modification of the file,

Semantic Class: callback.document.did-save

Wouldn't that do it? Called whenever a file is saved (subject to scope selector etc of course).

Gerd

> so it may not be quite possible yet.
> 
> Used here:
> https://github.com/wakatime/sublime-wakatime/blob/master/WakaTime.py#L243
> 
> I’m not sure how important this is to WakaTime’s accuracy, though it seems like it would be so it may have to wait for now.
> 
> Steven
> 
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate



More information about the textmate mailing list