for IntelliJ (and other Jetbrains IDEs)
Track the time spent on a project through a lightweight status bar widget.
<#DTT#>, which is then replaced by the formatted time instead.The time in IDE is stored in IDE's workspace XML, typically at .idea/workspace.xml. The section looks roughly like this:
<component name="DarkyenusTimeTracker">
<option name="totalTimeSeconds" value="162561" />
<option name="gitIntegration" value="true" />
</component>
The exact format is controlled by the IDE and may change in the future.
Git integration files are:
- Commit hook at .git/hooks/prepare-commit-msg (a POSIX shell script with /bin/sh shebang)
- Git time tracking file at .git/.darkyenus_time_tracker_commit_time (plain text file)
- .git/.darkyenus_time_tracker_commit_time.zero may be created temporarily during commit hook run, but shouldn't persist
- If you find it, you can safely delete it
Download from plugin repository or from releases.
There are no dependencies, this is a pure IntelliJ plugin. PR's are welcome!
—
$ claude mcp add DarkyenusTimeTracker \
-- python -m otcore.mcp_server <graph>