History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEABKL-5145
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Dmitry Jemerov
Reporter: Wim Deblauwe
Votes: 0
Watchers: 0
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

Allow additional operations before checkin

Created: 07 Jun 07 12:50   Updated: 07 Jun 07 22:54
Component/s: Version Control Integration
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment:
Windows XP
ClearCase LT

Build: 6,833


 Description  « Hide
There is the option to optimize imports and layout the code before checkin. It would also be convenient if I could start an arbitrary action (like for instance the code arranger plugin) before checkin automatically.

 All   Comments   Work Log   Change History      Sort Order:
Dmitry Jemerov - 07 Jun 07 14:11
It's unclear how to configure what "arbitrary action" should be run, how its scope/parameters would be determined, etc. There's an API for plugging into the checkin dialog, so you can contact the developer of the Rearranger plugin and ask him to implement a checkin handler in his plugin.

Wim Deblauwe - 07 Jun 07 15:26
For me, that would be any action from the menu, like you have when editing the keymap. That would already be of huge help.

Dmitry Jemerov - 07 Jun 07 15:57
It would be especially funny to have someone select the "Checkin" action as the action to perform before checkin...

There are far too many possible cases to be able to make this work reliably.


Wim Deblauwe - 07 Jun 07 16:27
true

ok, I've contacted the plugin author. Hopefully, he can make it work for me.


Wim Deblauwe - 07 Jun 07 22:54
Dmitry, can you point me to the documentation/some examples of that API?