microsoft / vscode-cpptools

Official repository for the Microsoft C/C++ extension for VS Code.
Other
5.52k stars 1.55k forks source link

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

Open falhumai96 opened 5 years ago

falhumai96 commented 5 years ago

Type: LanguageService

Describe the bug

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.

sean-mcmanus commented 5 years ago

We have other issues reported like this https://github.com/Microsoft/vscode-cpptools/issues?utf8=%E2%9C%93&q=is:issue+is:open+SSHFS

falhumai96 commented 5 years ago

@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.

sean-mcmanus commented 5 years ago

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

BinBrian commented 2 years ago

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

sean-mcmanus commented 2 years ago

I'm not aware of one.