Skip to content

go to definition etc often takes tens of seconds to perform when ~/.config/Code is on NFS #4374

@LinAGKar

Description

@LinAGKar

Type: LanguageService

Describe the bug

  • OS and Version: OpenSUSE Leap 15.1
  • VS Code Version: 1.38.1
  • C/C++ Extension Version: 0.25.1
  • Other extensions you installed (and if the issue persists after disabling them):
    • Bookmarks
    • CMake
    • Debugger for Chrome
    • Git History
    • GitLens
    • Language-Cython
    • Markdown Preview Enhanced
    • markdownlint
    • Python
    • TSLint
    • XML Tools
    • I've disabled all these extensions and still get the same behavior.
  • A clear and concise description of what the bug is.
    • Features like go to declaration and hover over items are extremely unresponsive. Go to declaration usually takes tens of seconds to perform, and when you hover over something the pop-up usually just says "Loading...". Same thing happens with the GitLens pop-ups when I have that installed, but only for C/C++ files. This seems to happen regardless of what folder I open, for example, the attached log is for wireless_tools.

To Reproduce

  1. Open a folder with C/C++ Files
  2. Open a C/C++ file
  3. ctrl-click or ctrl-hover over e.g. a function call or variable.
  4. Clicking it often takes tens of seconds to perform, and hovering usually just shows "Loading...".

Expected behavior

Clicking always immediately goes to the definition, and hovering always brings up the information about the item.

Screenshots

Screenshot_20191002_090522

Additional context

cpp.log
settings.log (Renamed to appease GitHub)
/home is on NFS, but the projects and the intellisense cache path are on a local drive.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions