Is there a way to override / change the behaviour of the submit button ?
Hello,
I would like to ask if there's a way to change the behaviour of the submit button in the VS code extension, I mean instead of it doing a p4 submit
I would like it to do some steps :
p4 shelve, cd
Is there a way to achieve that instead of doing it manually with p4v ?
Hi, thanks for the question - I can't think of a great way to do this currently. It's quite a bespoke operation and I'm finding it a bit tricky to imagine how you might set up what you might call a 'macro' like this in the extension.
If you were really inclined you might be able to replace 'p4' with a custom shell script (e.g. using the extension settings to run your script instead of p4). The script would just pass most commands through to the real p4, but then handle p4 submit in a special way so that it does the other commands first. I feel like it would be tricky to get right and could easily go wrong though - especially if you only want to do it some of the time..
Hi, It would be great to have option to modify it, because we have different submit process. It's commonly used practice in companies. Thanks