Skip to content

Indexer not running for new CMake projects after build #376

Open
@jonahgraham

Description

@jonahgraham

There seems to be a race condition when doing a build of the project. Steps to reproduce:

  1. File -> New -> C/C++ Project -> CMake
  2. Enter project name and press Finish

You end up with (sort of as expected because there is no compile_command.json yet) errors in the editor:

image

Doing an initial build of the project leads to improvement, but the indexer isn't being triggered (as you can see from the unresolved includes):

image

Doing a re-resolve unresolved includes solves the problem:

image

The above screenshots captured with Eclipse C/C++ EPP for 2023-03 on Linux.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions