IDEA + Perforce + Refactoring anytime soon?

Hi All,

I was wondering if the IDEA team has any plans to support refactoring
with Perforce as a VCS. I could contribute some help with it.

Regards,

Slava Imeshev


7 comments

"Slava Imeshev" <imeshev@yahoo.com> wrote in message
news:b2upik$utv$1@is.intellij.net...

I was wondering if the IDEA team has any plans to support refactoring
with Perforce as a VCS. I could contribute some help with it.


There's a Perforce plugin, but it's not finished yet and apparently hasn't
been worked on in a while. I wish I had some time to help out with it...


Erik


0

Hi Erik,

"Erik Hanson" <ehanson@comsys.com> wrote in message
news:b30g48$udn$1@is.intellij.net...

"Slava Imeshev" <imeshev@yahoo.com> wrote in message
news:b2upik$utv$1@is.intellij.net...

I was wondering if the IDEA team has any plans to support refactoring
with Perforce as a VCS. I could contribute some help with it.

>

There's a Perforce plugin, but it's not finished yet and apparently hasn't
been worked on in a while. I wish I had some time to help out with it...


Does it support refactoring, class renaming in particular? With perforce
it's a bit trickier for if you need to keep tack of changes you need to move
a class through a staging area.

It's a bit upsetting that IDEA doesn't support Perforce, which is one
of the best commercial-grade VCSs.

Regards,

Slava Imeshev


0

Hi Slava,
to double Erik: "I wish I had some time to...".
I helped a little with the Perforce plugin and created few little helpers
to work with Perforce. There are two immediate solutions for you:

1. use the Perforce plugin as it is. It works. (Mostly) You just have to
turn
local VCS on and setup the Perforce plugin. What is not so good at the time,
is the concept of LocalVCS vd VCS plugin. Any changes (I mean refactorings)
are remembered by the Local VCS and NOT REPORTED to Perforce.
Only when you submit (from IDEA!!!!), these changes are transformed
into "p4" commands. That is not good if you have to use external P4 clients
for any reasons. But it works. And also it solves the "double renaming"
problem simply renaming anything just once (at the submit time).

2. Get PerfMovePlugin. It is WAY-PRE-ALPHA plugin that reflects all moves
and renamings immediately in P4. It works - I worked on pretty large project
(renaming and moving lots of files) but:
- it allows only one move/rename operation for one file within one submit
cycle.
- turning it on and off is not quite visible :(
- works only on files, not directories
Combined with slightly modified perforce.xml, it worked for me.

r.


"Slava Imeshev" <imeshev@yahoo.com> wrote in message
news:b30kdi$6qi$1@is.intellij.net...

Hi Erik,

>

"Erik Hanson" <ehanson@comsys.com> wrote in message
news:b30g48$udn$1@is.intellij.net...

"Slava Imeshev" <imeshev@yahoo.com> wrote in message
news:b2upik$utv$1@is.intellij.net...

I was wondering if the IDEA team has any plans to support refactoring
with Perforce as a VCS. I could contribute some help with it.

>

There's a Perforce plugin, but it's not finished yet and apparently

hasn't

been worked on in a while. I wish I had some time to help out with it...

>

Does it support refactoring, class renaming in particular? With perforce
it's a bit trickier for if you need to keep tack of changes you need to

move

a class through a staging area.

>

It's a bit upsetting that IDEA doesn't support Perforce, which is one
of the best commercial-grade VCSs.

>

Regards,

>

Slava Imeshev

>
>


0

Where can one find PerfMovePlugin?

Also, what do you think of the Perfin plug-in?

I think it is good to be able to report everything to Perforce, so that you can use external p4 clients and leverage all the other nice features of Perforce, like organizing all your outstanding changes into multiple changelists.

0

"Luis de la Rosa" <louielouielouie@yahoo.com> wrote

Where can one find PerfMovePlugin?


Luis, the plugin didn't make it out, mostly because of it's
very pre-alpha stage and if it went public there may be lots
of people confused why it is not always working as they expected.
It is still only on my HD.

If there is someone who has time to make this thing more complete
plugin, I can provide the sources and put it somewhere on Wiki.

r.



0

Richard,

I have some time to look at this. I'm familiar with IntelliJ plug-ins after having seen some and written one.
Can you provide the source and I will provide some feedback/enhancements.

Thanks,
Louie

0

Sent the PerfMovePlugin to your yahoo address.
Thanks for the offer to pull this cart for a while.

r.

"Luis de la Rosa" <louielouielouie@yahoo.com> wrote in message
news:32339236.1046187604132.JavaMail.jrun@is.intellij.net...

Richard,

>

I have some time to look at this. I'm familiar with IntelliJ plug-ins

after having seen some and written one.

Can you provide the source and I will provide some feedback/enhancements.

>

Thanks,
Louie



0

Please sign in to leave a comment.