Local History storage access Follow
Answered
Hello,
is there a native way to obtain data (file changes etc) collected by LocalHistory inside custom plugin code?
Thx
Please sign in to leave a comment.
This is not exactly API open to plugins in general. What do you want to build?
Yann, we want to collect inserts/deletes statistics for project files. For example
16.12 Hello.java { 100 chars inserted, 30 deleted, 50 changed}
15.12 Hello.java { 0 chars inserted, 0 deleted, 10 changed}
and so on
LocalHistory works by means of "snapshots" for specific events only, e.g. VCS update or running test.
Eventually these plugins can solve your task or be used as reference
https://plugins.jetbrains.com/plugin/8126-activity-tracker
https://plugins.jetbrains.com/plugin/14172-team-tracker--developer-activity-tracker
https://plugins.jetbrains.com/plugin/13143-howmanycode
https://plugins.jetbrains.com/plugin/8025-tempore-plugin