You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open a file that has not yet been 'p4 edit'ed (and is therefore read-only).
Edit something.
Press ⌘S to save.
Edit some more.
Press ⌘S to save again.
Expected result: When I first start editing the file, TextMate should 'p4 edit' it to confirm that it can successfully be opened for edit.
Actual result: TextMate waits until I save to run 'p4 edit', and it runs every time I save, even if the file is already opened for edit.
Environment:
10.8.2 12C60
TextMate version 2.0-alpha.9387
Perforce bundle
This would fix two things:
People who compulsively save wouldn't be nagged by continual tool tips saying the file is currently opened for edit (as every save currently triggers 'p4 edit', and file is usually already open from previous save). These can also make the UI laggy & unresponsive when the p4 command blocks waiting on the server.
That silly warning in the README could go away, since files would now be opened at first edit rather than on every save.
The text was updated successfully, but these errors were encountered:
We unfortunately do not have any hooks that would make this work currently. What you would want is a 'first edit' type of callback. There would be some issues with this as it would be happen if you were simply looking at a file and accidentally hit a key. The manner in which Perforce operates makes this complicated to work with in the generalized manner that TextMate needs it to.
Steps to reproduce:
Expected result: When I first start editing the file, TextMate should 'p4 edit' it to confirm that it can successfully be opened for edit.
Actual result: TextMate waits until I save to run 'p4 edit', and it runs every time I save, even if the file is already opened for edit.
Environment:
10.8.2 12C60
TextMate version 2.0-alpha.9387
Perforce bundle
This would fix two things:
The text was updated successfully, but these errors were encountered: