Local VCS modifications

OK, I filed a request for a way to find all modified files
from local VCS (the files whose names are "colored").

http://www.intellij.net/tracker/idea/viewSCR?publicId=4668

The JetBrains people claimed there is already a way in
the API, but would not elaborate. Any ideas?

Thanks,
--

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

4 comments
Comment actions Permalink

Well you got farther with them than I did. I posted a question here and on the wiki site and never got anything back. I think the only thing to do is wait for them to officailly support it or for someone to write some documentation on it (since jetbrains doesn't seem to do documentations)

0
Comment actions Permalink

Erb,

I feel your pain. I had a little exchange with Mike last year that ended
like this "just traverse the VFS, you would be surprise how fast it is".
You get the roots of all source trees with
ProjectRootManager.getRoots(ProjectRootType.SOURCE). Traverse each tree (I
know you know how... ;) Then for each file query its status
(FileStatusManager.getStatus).
Kind of the hard way in my opinion since they are bound to do it already but
I can understand that if there is a way already...

Hope this helps

Jacques
"Erb" <dont@evenbother.com> wrote in message
news:avesl9$8k9$1@is.intellij.net...

OK, I filed a request for a way to find all modified files
from local VCS (the files whose names are "colored").

>

http://www.intellij.net/tracker/idea/viewSCR?publicId=4668

>

The JetBrains people claimed there is already a way in
the API, but would not elaborate. Any ideas?

>

Thanks,
--

>

Erb

>

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

>


0
Comment actions Permalink

Sadly, this does not help in case of deleted or moved file.

Jacques Morel wrote:

Erb,

I feel your pain. I had a little exchange with Mike last year that ended
like this "just traverse the VFS, you would be surprise how fast it is".
You get the roots of all source trees with
ProjectRootManager.getRoots(ProjectRootType.SOURCE). Traverse each tree (I
know you know how... ;) Then for each file query its status
(FileStatusManager.getStatus).
Kind of the hard way in my opinion since they are bound to do it already but
I can understand that if there is a way already...

Hope this helps

Jacques
"Erb" <dont@evenbother.com> wrote in message
news:avesl9$8k9$1@is.intellij.net...

>>OK, I filed a request for a way to find all modified files
>>from local VCS (the files whose names are "colored").
>>
>>http://www.intellij.net/tracker/idea/viewSCR?publicId=4668
>>
>>The JetBrains people claimed there is already a way in
>>the API, but would not elaborate. Any ideas?
>>
>>Thanks,
>>--
>>
>>Erb
>>
>>==============================================================
>>"Most of you are familiar with the virtues of a programmer.
>>There are three, of course: laziness, impatience, and hubris."
>> - Larry Wall
>>==============================================================
>>




--

Erb

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

0
Comment actions Permalink

True enough.
We just need that new EAP with the new VCS api ;)

Jacques

"Erb" <dont@evenbother.com> wrote in message
news:b0k27i$lgt$1@is.intellij.net...

Sadly, this does not help in case of deleted or moved file.

>

Jacques Morel wrote:

Erb,

>

I feel your pain. I had a little exchange with Mike last year that ended
like this "just traverse the VFS, you would be surprise how fast it is".
You get the roots of all source trees with
ProjectRootManager.getRoots(ProjectRootType.SOURCE). Traverse each tree

(I

know you know how... ;) Then for each file query its status
(FileStatusManager.getStatus).
Kind of the hard way in my opinion since they are bound to do it already

but

I can understand that if there is a way already...

>

Hope this helps

>

Jacques
"Erb" <dont@evenbother.com> wrote in message
news:avesl9$8k9$1@is.intellij.net...

>
>>OK, I filed a request for a way to find all modified files
>>from local VCS (the files whose names are "colored").
>>
>>http://www.intellij.net/tracker/idea/viewSCR?publicId=4668
>>
>>The JetBrains people claimed there is already a way in
>>the API, but would not elaborate. Any ideas?
>>
>>Thanks,
>>--
>>
>>Erb
>>
>>==============================================================
>>"Most of you are familiar with the virtues of a programmer.
>>There are three, of course: laziness, impatience, and hubris."
>> - Larry Wall
>>==============================================================
>>
>
>
>

>
>

--

>

Erb

>

==============================================================
"Most of you are familiar with the virtues of a programmer.
There are three, of course: laziness, impatience, and hubris."
- Larry Wall
==============================================================

>


0

Please sign in to leave a comment.