Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
timoteogb opened this issue Oct 21, 2021 · 1 comment
Open

Comments

@timoteogb
Copy link

timoteogb commented Oct 21, 2021

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants