question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

vscode.workspace.fs.readDirectory() does not get all files (reparse points) under %USERPROFILE%\AppData\Local\Microsoft\WindowsApps

See original GitHub issue

(for Python extension use)

  • VSCode Version:1.44.2
  • OS Version: Microsoft Windows 10 [Version 10.0.18362.778]

Steps to Reproduce:

  1. Call vscode.workspace.fs.readDirectory() on "C:\Users\*****\AppData\Local\Microsoft\WindowsApps"

Notes: image

I am not sure if they are regular symlinks, since dir \a does not show them as symlinks. They seem to be reparse points:

C:\Users\*****\AppData\Local\Microsoft\WindowsApps>dir /a
 Volume in drive C is OSDisk
 Volume Serial Number is CCED-E58F

 Directory of C:\Users\karth\AppData\Local\Microsoft\WindowsApps

04/16/2020  12:51 PM    <DIR>          .
04/16/2020  12:51 PM    <DIR>          ..
04/16/2020  12:51 PM    <DIR>          Backup
03/10/2020  01:15 AM    <DIR>          CanonicalGroupLimited.UbuntuonWindows_79rhkp1fndgsc
03/24/2020  07:48 PM                 0 debian.exe
04/14/2020  11:59 PM                 0 GameBarElevatedFT_Alias.exe
04/16/2020  12:51 PM                 0 idle.exe
04/16/2020  12:51 PM                 0 idle3.8.exe
04/16/2020  12:51 PM                 0 idle3.exe
11/09/2019  02:15 AM    <DIR>          Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
11/13/2019  10:09 AM    <DIR>          Microsoft.MicrosoftEdge_8wekyb3d8bbwe
04/14/2020  11:59 PM    <DIR>          Microsoft.XboxGamingOverlay_8wekyb3d8bbwe
11/13/2019  10:09 AM                 0 MicrosoftEdge.exe
04/16/2020  12:51 PM                 0 pip.exe
04/16/2020  12:51 PM                 0 pip3.8.exe
04/16/2020  12:51 PM                 0 pip3.exe
04/16/2020  12:51 PM                 0 python.exe
04/16/2020  12:51 PM                 0 python3.8.exe
04/16/2020  12:51 PM                 0 python3.exe
04/16/2020  12:51 PM    <DIR>          PythonSoftwareFoundation.Python.3.8_qbz5n2kfra8p0
04/16/2020  12:51 PM                 0 pythonw.exe
04/16/2020  12:51 PM                 0 pythonw3.8.exe
04/16/2020  12:51 PM                 0 pythonw3.exe
03/24/2020  07:48 PM    <DIR>          TheDebianProject.DebianGNULinux_76v4gfsz19hv4
03/10/2020  01:15 AM                 0 ubuntu.exe
              16 File(s)              0 bytes
               9 Dir(s)  42,065,428,480 bytes free

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
karthiknadigcommented, Apr 24, 2020
0reactions
bpaserocommented, Jan 5, 2021

I cannot recall why I set the “fixed-in-electron-11” label, I assume this is still an issue?

Read more comments on GitHub >

github_iconTop Results From Across the Web

File System API | Visual Studio Code Extension API
The text document content provider API allows you to create readonly documents in Visual Studio Code from arbitrary sources. You can find a...
Read more >
VS Code API | Visual Studio Code Extension API
VS Code API is a set of JavaScript APIs that you can invoke in your Visual Studio Code extension. This page lists all...
Read more >
Language Server Extension Guide - Visual Studio Code
Learn how to create Language Servers to provide rich language features in Visual Studio Code.
Read more >
Supporting Remote Development and GitHub Codespaces
Workspace Extensions can access files in the workspace to provide rich, ... your extension in GitHub Codespaces preview can be a great starting...
Read more >
Web Extensions - Visual Studio Code
helloWorld in activationEvents . Extensions that have only a main entry point, but no browser are not web extensions. They are ignored by...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found