The WakaTime plugin works with Adobes's Brackets text editor and is open-source on GitHub.
Inside Brackets select to File → Extension Manager….
Search for WakaTime, then click Install.
Enter your API key
Use Brackets like you normally do and your time will be tracked for you automatically.
Visit https://wakatime.com/dashboard to see your coding activity.
Inside Brackets select to File → Extension Manager… → Installed.
When an extension update is available, a green Update button will appear in the Installed tag. If so, click Update
Click the Close button.