Metrics, insights, and time tracking automatically generated from your programming activity.
-
Go to your Cloud9 Preferences and enable all 3
Experimental SDK
toggles. -
Paste this in your Init Script:
var url = "https://cdn.rawgit.com/wakatime/c9-wakatime/master"
var pathConfig = {};
pathConfig["plugins/wakatime"] = url
require.config({paths: pathConfig})
require(["plugins/wakatime/wakatime", "plugins/wakatime/install"], function(plugin, install) {
plugin({}, services, function(e, r) {
r.wakatime.name = "wakatime";
console.log(e, r)
services.installer.createSession("wakatime", install.version, install)
})
})
-
Restart Cloud9.
-
Enter your api key, then click
OK
. -
Use Cloud9 and your coding activity will be displayed on your WakaTime dashboard.
For general troubleshooting information, see wakatime/wakatime#troubleshooting.