ab11
ab11

Reputation: 20090

How to review and modfiy changes before submitting, using IntelliJ's perforce integration?

When I use the Perforce integration to submit changes, I can view the diffs for each file using the dialog pictured below. However, I am unable to modify my source file from this dialog. If I want to do something like remove an unused import, I have to close the perforce dialog, edit the source, and relaunch the dialog.

Is there a better workflow which would allow me to review and modify changes, without closing and relaunching this dialog?

enter image description here

Upvotes: 1

Views: 59

Answers (1)

Dmitrii Smirnov
Dmitrii Smirnov

Reputation: 7538

It is possible to modify files using the diff in the commit dialog, modifications are just locked by default to avoid accidental changes.

All you need to do is to click the Lock icon in the toolbar above the diff. This one: Unlock modification

Upvotes: 2

Related Questions