Skip to content

${workspaceFolder}/** is auto-added when default.includePath is set and no c_cpp_properties.json exists #5621

Description

Type: LanguageService

Describe the bug

  • OS and Version:
    MacOS 10.15.4

  • VS Code Version:
    1.45.1

  • C/C++ Extension Version:
    0.28.2

  • Other extensions you installed (and if the issue persists after disabling them):
    Remote -- SSH

  • Does this issue involve using SSH remote to run the extension on a remote machine?:
    Yes

  • A clear and concise description of what the bug is, including information about the workspace (i.e. is the workspace a single project or multiple projects, size of the project, etc).

After VSCode is being used a while (say, couple of hours) Goto Symbol in Editor could take tens of seconds to show the list of symbols in the current file. Closing VSCode and killing all vscode-related processes on the remote machine, and then restarting everything back solves the issue... for some time.

Is there anything I could do to help diagnosing this? E.g. should I collect the logs when this feature becomes laggy?

Thanks in advance.

Steps to reproduce

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

Logs
Insert logs here.

Screenshots

Additional context

Metadata

Metadata

Labels

Feature RequestLanguage ServicefixedCheck the Milestone for the release in which the fix is or will be available.performanceregressionA bug that didn't exist in a previous release

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions