wakatime / eclipse-wakatime

Eclipse plugin for automatic time tracking and metrics generated from your programming activity.
https://wakatime.com/eclipse
BSD 3-Clause "New" or "Revised" License
174 stars 16 forks source link

Track time for terminal usage #2

Open rask opened 9 years ago

rask commented 9 years ago

I use this plugin with Aptana Studio (a web focused Eclipse version), and I do loads of work inside the GitBash embedded terminal window (git, node, compass, custom deployments, general terminal work, etc.).

Could there be any possibility to track time used inside an embedded terminal view inside Eclipse/Aptana?

I think the project inside which time is tracked could be determined with the current terminal working directory.

alanhamlett commented 2 years ago

Yes, we just need to find the corresponding event listener for Terminal events:

https://github.com/wakatime/eclipse-wakatime/blob/bf2bc60c78f41c6feeacdce0697ccf7fc379ad20/com.wakatime.eclipse.plugin/src/com/wakatime/eclipse/plugin/CustomEditorListener.java#L25