Hi All,
I am currently implementing #133 feature request and I submitted the 1st
patch [1] to Gerrit today. The current status of the feature is very basic
and the functionality is described below.
When a file is being edited the file icon is changed and a custom icon is
displayed. When done editing the icon is reverted back to the default icon.
An example is displayed in the picture below. (Main class is currently
being edited)
[image: Inline image 1]
I implemented IconProvider in IntelliJ IDEA Open API to accomplish this.
Each time a file is modified getIcon() of IconProvider is automatically
called by IDEA. So I am storing ModificationStamp of every file in a
HashMap each time getIcon() is called and checking if the modificationStamp
is changed with the last saved value. If the value is changed it means the
file is being modified. The custom icon is returned in this case. If the
modificationStamps are not changed icon change will not be done.
I am still unable to identify if the change is done by the current user or
another user. So icon changes will be applied even for the changes current
user does.
I wanted to test this with multiple users and I was able to get two running
instances of Saros/I on two PCs. But there was an error when trying to
share a project between them. When a project is right clicked "Share With"
option is not clickable. And when a contact is right clicked and selecting
"Work together on" nothing happens.
Anyone recently tried sharing projects between two Saros/I instances? Did
it work? Please help me to solve this if anyone know what might have gone
wrong in my Saros/I setup.
[1] http://saros-build.imp.fu-berlin.de/gerrit/#/c/2748/
Regards,
Kasun.
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
DPP-Devel mailing list
DPP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dpp-devel