# A question about how to configure the erlang\_ls.config file

**URL:** <https://erlangforums.com/t/a-question-about-how-to-configure-the-erlang-ls-config-file/2988>\
**Category:** Questions / Help\
**Tags:** erlang, erlang-otp, vscode, erlang-ls\
**Created:** [October 28, 2023, 9:10am UTC](https://erlangforums.com/t/a-question-about-how-to-configure-the-erlang-ls-config-file/2988 "2023-10-28T09:10:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lanxiaomeng](https://erlangforums.com/user_avatar/erlangforums.com/lanxiaomeng/32/2099_2.png) [@lanxiaomeng](https://erlangforums.com/u/lanxiaomeng)\
**Post date:** [October 28, 2023, 9:10am UTC](https://erlangforums.com/t/a-question-about-how-to-configure-the-erlang-ls-config-file/2988/1 "2023-10-28T09:10:53Z")

</div>

I’m using the VSCode Erlang LS plugin on a Windows 10 system, with Erlang installed at ‘C:\Program Files\erl-23.2’. All my code is in the ‘D:\mycode’ folder, with ‘.hrl’ files stored in ‘D:\mycode\include’ and ‘.erl’ files in ‘D:\mycode\src’. When I open the ‘mycode’ folder in VSCode, how should I configure the erlang\_ls.config file?

I’m not quite sure how to configure it, and it always fails. I get an error message: “Issue in include file(11):include file,” and the code auto-completion doesn’t work. It would be great if there was a complete reference to follow.

---

<div class="post-metadata">

**Author:** ![williamthome](https://erlangforums.com/user_avatar/erlangforums.com/williamthome/32/471_2.png) [@williamthome](https://erlangforums.com/u/williamthome)\
**Post date:** [October 29, 2023, 5:01am UTC](https://erlangforums.com/t/a-question-about-how-to-configure-the-erlang-ls-config-file/2988/2 "2023-10-29T05:01:00Z")

</div>

If I understood correctly, just create the `erlang_ls.config` file in `D:\mycode` and fill it with the options described [here](https://erlang-ls.github.io/configuration/).

Or maybe you’re facing [this issue](https://github.com/erlang-ls/erlang_ls/issues/762).

I generally config the `erlang_ls.config` as below and it works fine for me:

```erlang
apps_dirs:
  - "_build/default/lib/*"
include_dirs:
  - "_build/default/lib/*/include"
  - "_build/default/lib"
  - "include"
providers:
  disabled:
    - document-formatting

```
