com.intellij.openapi.vcs.DelayedFileStatusProvider disapeared in 5218

I had developped a VCS plugin who this class as the FileStatusProvider base classs.

It allowed to make batch requests to the VCS to obtain status of files, which seemed a good idea.
The plugin now refuses to load, and after checking the 5218 openapi, this class has indeed been removed.
Does this have any impact on the flow of updating the source tree with vcs status info ?

2 comments

Hello Thibaut,

We're currently changing VCS API very actively so you may have hard times
following it. Sorry for this. OTOH we beleive we'd get something easier to
implement and finally allow more performant integrations to be developed.

Particulary, we've decided to drop asking file status for each and every
file appears in IDEA UI and rely on what VCS integration reports through
newly introduced ChangeProvider returned by getChangeProvider method in AbstractVCS.

Breifly, a VCS integration ought to report what's the difference between
local version and server version in terms of Change objects (that include
file status BTW). For performance reason VCS is provided with so called 'dirty
scope' to retreive such a changes.
Initially, every file under project is dirty and every file changed (timestamp,
created, deleted, renamed) becomes dirty. A VCS integration can explicitly
mark some files dirty using VcsDirtyScopeManager service.

All that stuff is not completely finished yet but if you decide to go that
way please feel free to ask any questions.

-


Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I had developped a VCS plugin who this class as the FileStatusProvider
base classs.

It allowed to make batch requests to the VCS to obtain status of
files, which seemed a good idea.

The plugin now refuses to load, and after checking the 5218 openapi,
this class has indeed been removed.

Does this have any impact on the flow of updating the source tree with
vcs status info ?



0

Thanks for the reply, I'll wait a while for the API to stabilize before trying to fix my plugin :)

0

Please sign in to leave a comment.