# How to use LSP with ROOT Header?

**URL:** <https://root-forum.cern.ch/t/how-to-use-lsp-with-root-header/58350>\
**Category:** Newbie\
**Created:** [March 1, 2024, 3:00pm UTC](https://root-forum.cern.ch/t/how-to-use-lsp-with-root-header/58350 "2024-03-01T15:00:18Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [March 1, 2024, 6:30pm UTC](https://root-forum.cern.ch/t/how-to-use-lsp-with-root-header/58350/2 "2024-03-01T18:30:04Z")

</div>

> [@Add "${ROOTSYS}/compile\_flags.txt" files to "official" ROOT binary releases](https://root-forum.cern.ch/t/add-rootsys-compile-flags-txt-files-to-official-root-binary-releases/49502):
>
> I’ve recently started to play with adding [Language Server Protocol (LSP)](https://microsoft.github.io/language-server-protocol/) support to my editor. For C++ code, I am trying to use the [clangd](https://clangd.llvm.org/installation.html) language server. It turns out that there are problems with ROOT binary releases. One gets various errors in form, e.g.: #include "TRandom.h" In included file: 'ROOT/RConfig.hxx' file not found with \<angled\> include; use "quotes" instead #include \<ROOT/RConfig.hxx\> In included file: 'RConfigure.h' file not found It seems I have found a simple…

---

_[View the full topic](https://root-forum.cern.ch/t/how-to-use-lsp-with-root-header/58350)._
