Open unional opened 8 years ago
Ah, that explains the errors I get after submitting a CL! I have then to use P4V to check out the file. :unamused:
Currently a workaround for this issue is close all files after you submit. When a file is opened, fstat
will be called and trigger listening to onDidChange
again... at least according to how I understand the code. Will update if that is not the case.
@PhiLhoSoft @unional Or can't you also just use the p4 edit command (should work regardless of whether auto edit is enabled)?
Yes. I also do manual p4 edit when that happens.
@unional Good trick, I will close all tabs after a commit. Sane in Atom anyway, as the number of tabs tends to grow unweildy. @mattsawyer77 Yes, I do the equivalence of p4 edit in P4V, but then we loose the interest of the package, no? Or do you mean we can do this command manually with your package? Ah, yes, more convenient, at least.
@PhiLhoSoft I meant the p4 edit command that this package provides in Atom's command palette.
@mattsawyer77 I created a gitter chat room. We can discuss about how to make changes to the project there. I don't want to do any refactoring without first talking to you. :rose:
For auto-edit feature.
Currently file cannot be saved because p4 make the file read only after submit.
atom-perforce
should detect that and edit the file again.