Skip to content

Intellisense DB not updated after a git pull #4211

@RichardFurness

Description

@RichardFurness

Type: LanguageService

Describe the bug

  • OS and Version: Windows 10 remote SSH to Linux
  • VS Code Version: latest insiders
  • C/C++ Extension Version: 0.25.1
  • Other extensions you installed (and if the issue persists after disabling them):
  • A clear and concise description of what the bug is.

If I update the code on the remote server e.g. doing a git pull or checking out a new branch, the C intellisense DB isn't updated so e.g. find-all-references won't find new references due to the update.

To Reproduce

  1. In VSCode, have open the file defining something (say, a function).
  2. On the server, pull in changes that introduce a new referenc to the function in another file (not already open in VSCode), using e.g. git pull / checkout new branch.
  3. In VSCode, perform find-all-references from the function definition.

Expected behavior
The new reference should be found. Instead, it will only be found after I either:

  • Open the file with the new reference, OR
  • Reset intellisense DB

Screenshots

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature: Find All ReferencesFind All References, Peek References, RenameLanguage ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions