bazelbuild / intellij

IntelliJ plugin for Bazel projects
https://ij.bazel.build/
Apache License 2.0
761 stars 303 forks source link

Feature flags for resolve virtual includes using heuristics or clangd #6387

Closed LeFrosch closed 4 months ago

LeFrosch commented 4 months ago

Checklist

Please note that the maintainers will not be reviewing this change until all checkboxes are ticked. See the Contributions section in the README for more details.

Discussion thread for this change

Issue number: #6375

Description of this change

Since using clangd (-ibazel) to resolve virtual includes only works with the legacy engine and currently breaks it under some circumstances (see #6375) revert back to the old heuristics based approach by default. To enable the usage of clangd the bazel.sync.clangd.virtual.include registry flag can be set to true.