-
Notifications
You must be signed in to change notification settings - Fork 84
WakaTime support for Wolfram Language / Mathematica #255
Comments
With command line calls like Maybe the Creating Plugin Docs could be helpful, especially the Plugin Init section, as it shows how to do the steps necessary to get wakatime installed if not present. |
@luckydonald I am aware of that, and for now I think Linux users could simply replace this with
I known there is still a lot to do: detection of the platform, downloading the CLI (to the add-on directory; Mathematica seems to ship Python with it since 12.1), handling timeout, logging and so on. There is also some other issue: during my own testing I found that sometimes in these calls to the CLI, maybe Mathematica did not set up the environment correctly, and the CLI fails to detect the project. I need more testing to really pin down what went wrong. Last but not the least, the approach I took was to modify the To summary the problems:
|
I code in the Mathematica front end a lot in the draft phase of my projects; but these time spent is not recognized by WakaTime.
Therefore, I created a package to enable this; it can be found at my repo. Since evaluation is often conducted coding in Mathematica notebooks, I took a shortcut and had the heartbeats sent on Evaluation.
For now it calls a pre-installed WakaTime CLI for heartbeats; It can also recognize the project, provided that a fairly new version of git has been installed.
I am not an experienced developer, so I am turning to the community for help.
The text was updated successfully, but these errors were encountered: