wakatime_使用WakaTime跟踪编码效率

wakatime

Back in June, I wrote an article about Codeivate, which is capable of tracking the language you are currently programming in, awarding points to your virtual profile in a manner similar to an RPG. One of the comments I received on that article was a link to a tool named WakaTime, which has similar capabilities. However, WakaTime is promoted as a time tracker, rather then a tool to measure your coding habits.

早在六月,我写了一篇关于Codeivate文章 ,该文章能够跟踪您当前正在使用的语言,并以类似于RPG的方式将分数授予您的虚拟配置文件。 我收到该文章的评论之一是指向名为WakaTime的工具的链接,该工具具有类似的功能。 但是,WakaTime被提升为时间跟踪器,而不是用来衡量您的编码习惯的工具。

WakaTime records several things when you’re using your editor. First it records the absolute path of the file you are working in. This way, you can get a clear view of which files you have been working on in a certain time period. It also records the current time, what triggered the event and the current language syntax for the opened file. Next to that, it also tracks your current project and branch if possible, and the total number of lines for the current file.

使用编辑器时,WakaTime会记录一些内容。 首先,它记录了您正在处理的文件的绝对路径。通过这种方式,您可以清楚地了解在特定时间段内正在处理哪些文件。 它还记录当前时间,触发事件的原因以及打开文件的当前语言语法。 紧接着,它还会跟踪您当前的项目和分支(如果可能),以及当前文件的总行数。

These records are either stored locally until you are connected to the internet or on so called heartbeat events. Such a heartbeat is triggered in three different ways:

这些记录或者存储在本地,直到您连接到Internet为止,或者存储在所谓的心跳事件中 。 这种心跳是通过三种不同的方式触发的:

  • Every two minutes if you actively use the editor

    如果您积极使用编辑器,则每两分钟
  • When you switch between files

    在文件之间切换时
  • When you write something in a file

    当您在文件中写东西时

WakaTime can be integrated into an even bigger range of editors. From text editors like Sublime to IDE’s like XCode and PhpStorm. For this article, we’ll use the same editors as we have used in the Codeivate article: Sublime Te

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值