Implementing FileStatus in Custom Vcs

I would like to color files based upon their status in source control (ie: MODIFIED, DROPPED, etc.). I added a FileStatusProvider to my AbstractVcs implementation, however it does not seem to have any effect (no color changes).

What is the correct method of decorating files in the Project view? Also, is there a way to decorate these same files with an additional icon?

Thanks!

Steve

2 comments
Comment actions Permalink

Hello Steven,

I would like to color files based upon their status in source control
(ie: MODIFIED, DROPPED, etc.). I added a FileStatusProvider to my
AbstractVcs implementation, however it does not seem to have any
effect (no color changes).


You need to implement ChangeProvider and to return appropriate Change objects
for the modified files.

Also, is there a way to decorate these same files with an additional
icon?


No, currently there's no way to do this directly from a VCS plugin.

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


0
Comment actions Permalink

Thanks again Dmitry!

0

Please sign in to leave a comment.