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 tree doesn't display file sometimes. #72916

Closed
shihaonan369 opened this issue Apr 26, 2019 · 6 comments
Closed

File tree doesn't display file sometimes. #72916

shihaonan369 opened this issue Apr 26, 2019 · 6 comments
Assignees
Labels
file-explorer Explorer widget issues info-needed Issue requires more information from poster

Comments

@shihaonan369
Copy link

  • VSCode Version: 1.33.1
  • OS Version: macOS Mojave 10.14.4
  • Golang Version: 1.11.4
  • Golang Delve Version: 1.1.0

Steps to Reproduce:

1.Create a test folder in gopath, contain files which show in following gif.
2.After running this code, open exception file which output in debug terminal.
3.Then expand test folder in file tree, test.go disappear sometimes.

Does this issue occur when all extensions are disabled?: Yes

2019-04-26 18-56-39 2019-04-26 19_01_04

@isidorn
Copy link
Contributor

isidorn commented Apr 26, 2019

Can you reproduce this with vscode insiders https://code.visualstudio.com/insiders/

@isidorn isidorn added file-explorer Explorer widget issues info-needed Issue requires more information from poster labels Apr 26, 2019
@shihaonan369
Copy link
Author

@isidorn Yes, still exists.

@isidorn
Copy link
Contributor

isidorn commented May 6, 2019

If you F1 > developer tools > open console
Are there some errors?
Does the code or the file system chane the test.go in any way underneath?

@antonyoni
Copy link

I seem to be having a similar issue, get the following in the console:

  ERR Data tree node not found: [object Object]: Error: Data tree node not found: [object Object]
    at Y.getDataNode (file:///C:/Users/UserName/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:955:302)
    at Y.<anonymous> (file:///C:/Users/UserName/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:953:631)
    at Generator.next (<anonymous>)
    at file:///C:/Users/UserName/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:32:460
    at new Promise (<anonymous>)
    at n (file:///C:/Users/UserName/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:32:237)
    at Y.expand (file:///C:/Users/UserName/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:953:398)
    at e.<anonymous> (file:///C:/Users/UserName/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:5248:778)
    at Generator.next (<anonymous>)
    at r (file:///C:/Users/UserName/AppData/Local/Programs/Microsoft VS Code/resources/app/out/vs/workbench/workbench.main.js:32:293)
  • Version: 1.33.1 (user setup)
  • Commit: 51b0b28
  • Date: 2019-04-11T08:27:14.102Z
  • Electron: 3.1.6
  • Chrome: 66.0.3359.181
  • Node.js: 10.2.0
  • V8: 6.6.346.32
  • OS: Windows_NT x64 10.0.17763

I think this was also the same issue in #72755

I've not been able to reproduce consistently. It seems to happen when I open an existing workspace that has open tabs, and switch to a tab for a file in that directory. If I close all the tabs in a workspace, the folder contents stop disappearing for the duration of that session.

@shihaonan369
Copy link
Author

shihaonan369 commented May 10, 2019

Since i‘ve upgraded golang and all of packages, for some reason this issue has gone, just for me. Now i can't reproduce again wherever in 1.33 or insider build.

@isidorn
Copy link
Contributor

isidorn commented May 14, 2019

Closing then. We have similar issues which we plan to investigate next week anyways

@isidorn isidorn closed this as completed May 14, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 28, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
file-explorer Explorer widget issues info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

3 participants