microsoft / microsoft/vscode-cpptools

Extension Not Working at All in Mounted Drives in Windows

Open
#4,008 5 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Language Service network drive
Dominant language
TypeScript
Stars
6.2k
Forks
1.7k
Avg merge
14h 46m
Merged PRs (30d)
61

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported IntelliSense failures in a C/C++ project on a Windows mounted drive using the listed reproduction steps. Compare symbol navigation and autocomplete behavior with a local workspace; done means the described IntelliSense features work on mounted drives with a configured IncludePath.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, typescript, vscode
Domain
developer-experience, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.