stef-levesque / vscode-perforce

Perforce basic commands for Visual Studio Code
MIT License
75 stars 102 forks source link

File status not visually updated in VSCode explorer after submission #195

Open timoteogb opened 3 years ago

timoteogb commented 3 years ago

Hi! First of all, great extension, it works like a charm. I do not see a way of updating (visually speaking) the status of various files after submission to Perforce. For example: I edit some files using p4 edit -> This highlights the files in the explorer in green, with an 'E' symbol. or: I add some files using p4 add-> This highlights the files in the explorer in green, with an 'A' symbol.

After submitting these files onto Depot, the VSCode explorer still shows these files in green with their respective symbols, although they are not in the changelist anymore. The only solution for now (that I know) is to close and open VSCode again. Updating the explorer with the "Refresh Explorer" button does not update the files' status either.

EDIT: I submit using p4v, not the vscode-perforce extension, as it doesn't support more than single-file submission.

mjcrouch commented 2 years ago

HI @timoteogb - I think maybe you meant to post this in my fork - mjcrouch/vscode-perforce ? The original extension doesn't have the decorations on the explorer afaik since I added them in my fork.

it doesn't support more than single-file submission.

You can manage and submit changelists with multiple files from the source control view on the left hand panel.

When you make submit files outside of the IDE we can't immediately pick that up. You should find that refreshing the source control view for perforce will update the state for the explorer decorations as well.