LocalVCS APIs in 8.0

Are there any APIs for reading Local VCS info in Intellij 8? I have been looking for a while and cannot find how to do it.

5 comments
Comment actions Permalink

Hello Nathan,

Are there any APIs for reading Local VCS info in Intellij 8? I have
been looking for a while and cannot find how to do it.


See the com.intellij.history package.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

I had seen the classes in there, but I am looking for a way to see what files (and what lines of the files) have been modified lately. Am I missing how to do that, or is that not exposed functionality?

0
Comment actions Permalink

Nathan,

This is not a part of the OpenAPI at the moment, I could publish it, though, if you told me what kind of the API you need and what for.

Thanks,
Anton Makeev

0
Comment actions Permalink

I have a couple ideas I've been thinking about that would rely on being able to see past history:

Dashboard Plugin
The dashboard plugin would display various pieces of information about the state of the project as well as the code that the developer has been working on lately. I haven't thought through everything that should be on there, but I was thinking things like:
- Measurements like test coverage, code complexity, etc. Possibly with a change-over-time graph
- Tag cloud of variables and method names worked on lately
- Recent files edited
- Other ways to determine at a glace if the code is improving or rotting in the last few days

Where local history would fit in is for the "My Dashboard" tab, which would display information like above, but limit it to things they have been working on lately. The local history system seemed like the obvious choice for being able to see what parts of the code they have touched to build the metrics off of.

Replay Coding
Create a way to re-watch your changes. For learning how you code and for code reviews, the ability to see a sped-up movie replay or some other visual representation of changes you made over time. Again, it seemed like access to the local history would be the best way to implement something like this. You wouldn't be able to get every keystroke replayed, but that would probably be a bit much anyway.

0
Comment actions Permalink

Nathan,

We can discuss the API by the email (Anton.Makeev@jetbrains.com). I'm going to the vacation now and will be back by the beginning of December.

Thanks,
Anton Makeev

0

Please sign in to leave a comment.