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 Explorer Panel does not update #69149

Closed
jtsom opened this issue Feb 21, 2019 · 17 comments
Closed

File Explorer Panel does not update #69149

jtsom opened this issue Feb 21, 2019 · 17 comments
Assignees
Labels
info-needed Issue requires more information from poster

Comments

@jtsom
Copy link

jtsom commented Feb 21, 2019

Issue Type: Bug

The file explorer panel, including the Source Control panel, does not update consistantly when files change. Switching branches via the terminal sometimes leaves the old branch's file in the window. Also, the branch in the lower left corner does not reflect the new branch. If there are files that have changed, the source control panel does not show file updates. I have to constantly click the Refresh button to see changes.

VS Code version: Code - Insiders 1.32.0-insider (2e4d4a6, 2019-02-21T06:14:37.115Z)
OS version: Darwin x64 18.2.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz (12 x 2600)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
surface_synchronization: enabled_on
video_decode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 32.00GB (0.60GB free)
Process Argv
Screen Reader no
VM 25%
Extensions (16)
Extension Author (truncated) Version
ng-template Ang 0.1.11
path-intellisense chr 1.4.2
vscode-eslint dba 1.8.0
githistory don 0.4.6
auto-rename-tag for 0.0.15
csharpextensions jch 1.3.0
Angular2 joh 7.0.1
azure-account ms- 0.8.0
csharp ms- 1.18.0-beta7
vscode-typescript-tslint-plugin ms- 1.0.0
debugger-for-chrome msj 4.11.2
vetur oct 0.16.2
material-icon-theme PKi 3.6.3
quicktype qui 12.0.46
open-in-browser tec 2.0.0
vscodeintellicode Vis 1.1.3

(3 theme extensions excluded)

@vscodebot
Copy link

vscodebot bot commented Feb 21, 2019

@jtsom
Copy link
Author

jtsom commented Feb 21, 2019

Not a duplicate of any of those.

@mikerockett
Copy link

This has been happening on my install as well – ever since the most recent stable update.

@Lakret
Copy link

Lakret commented Feb 21, 2019

The same for me, since the latest update (Version 1.31.1 (1.31.1), macOS Mojave 10.14.1) renamed files are not renamed in the sidebar, new files added with external programs do not appear in the sidebar, and newly created files don't appear there either. Manual refresh helps, but that's def. a bug.

@jtsom
Copy link
Author

jtsom commented Feb 21, 2019

An additional note/observation - it doesn't matter if the "Experimental File Watcher" is enabled or disabled.

@birkir
Copy link

birkir commented Feb 22, 2019

Looks like it is fixed with latest Insiders (1.32)

@jtsom
Copy link
Author

jtsom commented Feb 22, 2019

(this may be another issue entirely)
Switching branches from a Terminal panel (git checkout master .. git checkout another-branch), while it looks like the file tree does update, the branch indicator in the lower left does not update to the current branch. Off to file another report...

@jtsom
Copy link
Author

jtsom commented Feb 22, 2019

Not sure if it's the same issue... but updating a file, and saving, still does not show any updates in the source control view. Have to manually click the Refresh button to see the changes.

@Tyriar Tyriar added the git GIT issues label Feb 22, 2019
@joaomoreno joaomoreno removed the git GIT issues label Feb 25, 2019
@joaomoreno
Copy link
Member

@jtsom Did you open the root folder of the repository with VS Code, or a subfolder of the repo?

@joaomoreno joaomoreno added the info-needed Issue requires more information from poster label Feb 25, 2019
@jtsom
Copy link
Author

jtsom commented Feb 25, 2019

Yes, it is a folder within the repo. (the .git directory is up one level). I do notice that if I wait, the source control panel will update, but it takes several minutes.

@joaomoreno
Copy link
Member

Duplicate of #41085

@joaomoreno joaomoreno marked this as a duplicate of #41085 Feb 25, 2019
@jtsom
Copy link
Author

jtsom commented Feb 25, 2019

Great, duplicate of a year plus old issue. I guess I just have to get used to clicking the Refresh button.

@mikerockett
Copy link

@joaomoreno I'm not sure how this is the case, considering that this is a behaviour change after the most recent update… In my case, I use workspaces with two or more git repos in them. Still having to click refresh.

@joaomoreno
Copy link
Member

@MikeChou If you are indeed opening a sub folder of a git repo, it's certainly not new. This is a long standing issue, blocked by #3025. Please upvote that issue to raise its awareness.

@jakenvac
Copy link

Not sure if this is useful, but I've been experiencing this issue only since the latest update. It happens regardless of where I am in the git repo, root or otherwise.

Let me know if there are any logs I can provide.

@rmehner
Copy link

rmehner commented Mar 1, 2019

Happens for me as well, my .git folder is in the current folder. Have to reload all the time. Enabled experimental file watcher, but no change.

VSCode 1.31.1 on macOS 10.14.3.

Let me know if there's anything more you need :)

@nguyendviet
Copy link

Happens to me now. Since this one is closed, I opened one here: #69851

@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

9 participants