checkout all file while refactoring

from changelist -

- Version Control. Checkout all files when refactoring.

Thats a really useful feature to have. Doesn't look like it works for
all the vcs integration by default... Is there an API to make this work in
our own VCS implementations ?

-Dash.


8 comments

Wondering if this has to do with EditFileProvider.

Debabrata Dash wrote:

from changelist -

- Version Control. Checkout all files when refactoring.

Thats a really useful feature to have. Doesn't look like it works for
all the vcs integration by default... Is there an API to make this work in
our own VCS implementations ?

-Dash.


--

Erb

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

0

Any VCS plugin uses it? The clearcase plugin doesn't. I did not spend the time to figure out what the EditProvider does.
I just add the Check out action to the VcsGroup so people can check out all affected files by selecting the top node in the preview and invoking the action.
Is that what you guys are doing?

Jacques

0

You should implement EditFileProvider interface and return it from
AbstractVcs.getEditFileProvider

--
Best regards,
Olesya Smirnova
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"


"Debabrata Dash" <dash@arcsightnospam.com> wrote in message
news:bp9h4n$673$1@is.intellij.net...

from changelist -

>

- Version Control. Checkout all files when refactoring.

>

Thats a really useful feature to have. Doesn't look like it works for
all the vcs integration by default... Is there an API to make this work in
our own VCS implementations ?

>

-Dash.

>
>


0

Thanks, Olesya. That works fine. I wish I knew about this before :)

-Dash

"Olesya Smirnova (JetBrains)" <lesya@intellij.com> wrote in message
news:bpd5vr$35k$1@is.intellij.net...

You should implement EditFileProvider interface and return it from
AbstractVcs.getEditFileProvider

>

--
Best regards,
Olesya Smirnova
JetBrains, Inc / IntelliJ Software
http://www.intellij.com
"Develop with pleasure!"

>
>

"Debabrata Dash" <dash@arcsightnospam.com> wrote in message
news:bp9h4n$673$1@is.intellij.net...

from changelist -

>

- Version Control. Checkout all files when refactoring.

>

Thats a really useful feature to have. Doesn't look like it works

for

all the vcs integration by default... Is there an API to make this work

in

our own VCS implementations ?

>

-Dash.

>
>

>
>


0

As seen in another thread:
EditFileProvider is just a read-only modification listener (or whatever it is called).
I have been implementing that for a while, and my version is more powerful than what
EditFileProvider does. The change in IDEA, I think, is that it automatically does a
modification callback on all read-only files that would be refactored. So I guess what
EditFileProvider adds is one dialog/callback for all files, which I will have to implement by hand, I guess.

Jacques Morel wrote:

Any VCS plugin uses it? The clearcase plugin doesn't. I did not spend the time to figure out what the EditProvider does.
I just add the Check out action to the VcsGroup so people can check out all affected files by selecting the top node in the preview and invoking the action.
Is that what you guys are doing?

Jacques


--

Erb

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

0

Oh, I see what you are saying. Yes, I do the same thing, for reasons shown in my previous message.

Jacques Morel wrote:

Any VCS plugin uses it? The clearcase plugin doesn't. I did not spend the time to figure out what the EditProvider does.
I just add the Check out action to the VcsGroup so people can check out all affected files by selecting the top node in the preview and invoking the action.
Is that what you guys are doing?

Jacques


--

Erb

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

0

Hi, Dash,

I'm trying to check out a file via Vcs. Do you know how this should work using EditFileProvider? I know the Vcs command that would checkout the file. However, I can't seem to be able to use OpenAPI to do this. (I'm running a separate process to do the checkout.)

Thanks.
-Wei

0

How can I checkout a file using Vcs APIs?

Thanks,

-Wei

0

Please sign in to leave a comment.