Skip to content

Extension Not Working at All in Mounted Drives in Windows #4008

Description

Type: LanguageService

Describe the bug

  • OS and Version: Windows_NT x64 10.0.17763.
  • VS Code Version: 1.36.1 (user setup).
  • C/C++ Extension Version: 0.24.1.
  • Other extensions you installed (and if the issue persists after disabling them): Mostly just themes (issue persists after disabling them).
  • A clear and concise description of what the bug is:
    The intellisense is not working at all (such as the the CTRL-click feature to follow a symbol's location where it was firstly defined) in folders/workspaces that exist in a mounted drive in Windows (tested using a mounted drive using SSHFS-Win32 in https://github.com/billziss-gh/sshfs-win).

To Reproduce

  1. Mount a network drive (e.g. using SSHFS-Win32 above).
  2. Open a C/C++ project inside the mounted drive.
  3. Try one of the intellisense features (such as following a symbol's first defined location).

Expected behavior
Intellisense features with properly setup IncludePath should work as expected in mounted drives' folders. For example, Clicking CTRL and hovering over a symbols should underline and change color of that symbol. Clicking that symbol should jump to the location of the item where it was first defined. Also, clicking a combination of CTRL-space on certain locations should show possible auto-complete features for these locations.

Actual behavior
None of the above behaviors work on mounted drives.

Activity

  1. sean-mcmanus commented on Aug 1, 2019

    @sean-mcmanus
    Contributor
  2. falhumai96 commented on Aug 28, 2019

    @falhumai96
    Author

    Sean McManus (@sean-mcmanus) any updates on this issue?

    I have to confirm I am only seeing the issue in any application that mounts a network drive as a Network Drive, but the issue won't happen if it was mounted as a Fixed Drive, for example as in SFTPNetDrive mounting SSHFS drives as Fixed Drives.

    Please update me with any updates that happen regarding this bug.

  3. sean-mcmanus commented on Aug 28, 2019

    @sean-mcmanus
    Contributor

    We haven't had time to investigate/fix SSHFS related bugs.

  4. added this to the Triage milestone on Mar 19, 2020
  5. BinBrian commented on Mar 22, 2022

    @BinBrian

    Is there now a solution to the problem of intellisense failing when vscode opens a project on a network drive?

  6. sean-mcmanus commented on Mar 22, 2022

    @sean-mcmanus
    Contributor

    I'm not aware of one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions