# how configure visual studio code for elixir intellisense

**URL:** <https://forum.elixirforum.com/t/how-configure-visual-studio-code-for-elixir-intellisense/16092>\
**Category:** Questions\
**Tags:** code-editors, vscode, vscode-elixir\
**Created:** [August 25, 2018, 10:50pm UTC](https://forum.elixirforum.com/t/how-configure-visual-studio-code-for-elixir-intellisense/16092 "2018-08-25T22:50:20Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![chewm](https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/c/ac91a4/32.png) [@chewm](https://forum.elixirforum.com/u/chewm)\
**Post date:** [August 25, 2018, 10:50pm UTC](https://forum.elixirforum.com/t/how-configure-visual-studio-code-for-elixir-intellisense/16092/1 "2018-08-25T22:50:20Z")

</div>

Hi guys, nice to meet you to the whole forum, I’m new here, I’m trying to configure visual studio code for elixir, right now the intellisense-autocomplete seems not working, I installed elixirLS inside vscode and also vscode-elixir (which seems use elixirsense) I don’t know if I need run a command line before, because seems that for elixirsense you need run a server before start coding, basically I just download the extensions inside vscode and also I compiled [this](https://github.com/JakeBecker/elixir-ls) and put the binaries inside my path

can you explain me a little bit how achieve intellisense inside vscode???..I need an extra step?

thank you so much guys, sorry for the super noob question

---

<div class="post-metadata">

**Author:** ![joefractal](https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/j/7ea924/32.png) [@joefractal](https://forum.elixirforum.com/u/joefractal)\
**Post date:** [August 25, 2018, 11:30pm UTC](https://forum.elixirforum.com/t/how-configure-visual-studio-code-for-elixir-intellisense/16092/2 "2018-08-25T23:30:07Z")

</div>

If you have elixir in your path, you should just be able to install the extension in vscode and it should just work.

Other data that might help debug,

1. is there any messages in the output tab of the builtin terminal?
2. is there there anything is the .elixir\_ls in your project directory (same level as your project mix.exs)

---

<div class="post-metadata">

**Author:** ![pietrofxq](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/pietrofxq/32/12680_2.png) [@pietrofxq](https://forum.elixirforum.com/u/pietrofxq)\
**Post date:** [November 15, 2018, 6:04pm UTC](https://forum.elixirforum.com/t/how-configure-visual-studio-code-for-elixir-intellisense/16092/3 "2018-11-15T18:04:13Z")

</div>

I’m having the same issue. Actually Intellisense works for elixir methods, but not for my own classes. Is it suppose to work this way?

---

<div class="post-metadata">

**Author:** ![NobbZ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/nobbz/32/27235_2.png) [@NobbZ](https://forum.elixirforum.com/u/NobbZ)\
**Post date:** [November 16, 2018, 11:35am UTC](https://forum.elixirforum.com/t/how-configure-visual-studio-code-for-elixir-intellisense/16092/4 "2018-11-16T11:35:37Z")

</div>

There are neither methods, nor classes in elixir, so I assume you are meaning functions and modules.

Can you tell us how you manage your erlang/elixir installation and how you start vs code?

If you use anything other than your systems installation of elixir and starting vs code from the GUI, you are doing it wrong.

Try starting it from the terminal you used to verify that the correct version of erlang and elixir are available.

---

<div class="post-metadata">

**Author:** ![pietrofxq](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/pietrofxq/32/12680_2.png) [@pietrofxq](https://forum.elixirforum.com/u/pietrofxq)\
**Post date:** [November 17, 2018, 6:09pm UTC](https://forum.elixirforum.com/t/how-configure-visual-studio-code-for-elixir-intellisense/16092/5 "2018-11-17T18:09:51Z")

</div>

Yes sorry, I meant Modules and Functions.

I’m running windows, installed elixir through the installer but override OTP to use version 21.

Output of elixir -v:

```elixir
Erlang/OTP 21 [erts-10.1] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1]

Elixir 1.8.0-dev (929e58c) (compiled with Erlang/OTP 21)

```

I’m using the plugins vscode-elixir and ElixirLS. Autocomplete/intellisense works fine for Elixir own modules, but vscode can’t even recognize the name of my modules. When I start typing there’s no suggestion for them nad neither for the module functions.

 ![image](https://forum.elixirforum.com/uploads/default/original/2X/f/f46326b939589ae06debb4eeafbd234d29e9bb07.jpeg)

 ![image](https://forum.elixirforum.com/uploads/default/original/2X/5/587ebf9b391060d063f68a708c1a61b2dcd87f48.jpeg)

---

<div class="post-metadata">

**Author:** ![NobbZ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/nobbz/32/27235_2.png) [@NobbZ](https://forum.elixirforum.com/u/NobbZ)\
**Post date:** [November 17, 2018, 7:09pm UTC](https://forum.elixirforum.com/t/how-configure-visual-studio-code-for-elixir-intellisense/16092/6 "2018-11-17T19:09:46Z")

</div>

> [@pietrofxq](#):
>
> I’m using the plugins vscode-elixir and ElixirLS.

No, you use either one, not both. At least as far as I remember…

As soon as I’m back home, we had dinner and the kids are sleeping I can take a look again. Also I might be able to come up with some instructions to debug. I have to admit though that I’m not using windows.

---

<div class="post-metadata">

**Author:** ![pietrofxq](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/pietrofxq/32/12680_2.png) [@pietrofxq](https://forum.elixirforum.com/u/pietrofxq)\
**Post date:** [November 17, 2018, 9:46pm UTC](https://forum.elixirforum.com/t/how-configure-visual-studio-code-for-elixir-intellisense/16092/7 "2018-11-17T21:46:48Z")

</div>

So, disabling ElixirLS makes the default vscode intellisense work (it searches for used words in the document and I can select them), but then I lose the autocomplete for the Elixir modules. Disabling only vscode-elixir seems to make no difference on the mentioned problem - I have autocomplete on Elixir modules but intellisense on the document for my own code doesn’t work.

I can confirm same behavior on MacOS Mojave. I should probably create an issue on the ElixirLS plugin repo.

Thanks for your help!

---

<div class="post-metadata">

**Author:** ![jwbaldwin](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jwbaldwin/32/17637_2.png) [@jwbaldwin](https://forum.elixirforum.com/u/jwbaldwin)\
**Post date:** [October 6, 2020, 8:58pm UTC](https://forum.elixirforum.com/t/how-configure-visual-studio-code-for-elixir-intellisense/16092/8 "2020-10-06T20:58:20Z")

</div>

@NobbZ

I’m currently still having this problem. Elixirls seems to only provide current module and Elixir autocompletion, but not for my projects other modules.

_However_, I can get it to work by disabling elixirls, and using vscode-elixir instead (but I then lose the goodness of elixirls).

On macOS Catalina. Any help would be great. I can make an issue if you’d like!

---

<div class="post-metadata">

**Author:** ![NobbZ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/nobbz/32/27235_2.png) [@NobbZ](https://forum.elixirforum.com/u/NobbZ)\
**Post date:** [October 7, 2020, 9:19am UTC](https://forum.elixirforum.com/t/how-configure-visual-studio-code-for-elixir-intellisense/16092/9 "2020-10-07T09:19:28Z")

</div>

I do not use vscode anymore, and I am not sure who actually does.

Perhaps create an issue at [Issues · elixir-lsp/vscode-elixir-ls · GitHub](https://github.com/elixir-lsp/vscode-elixir-ls/issues) and provide some logs from your LS output pane.

Especially what version of the LSP you are on, which version of the plugin you use and what versions of elixir are involved.

---

<div class="post-metadata">

**Author:** ![catra](https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/c/ee7513/32.png) [@catra](https://forum.elixirforum.com/u/catra)\
**Post date:** [December 24, 2020, 3:53pm UTC](https://forum.elixirforum.com/t/how-configure-visual-studio-code-for-elixir-intellisense/16092/10 "2020-12-24T15:53:44Z")

</div>

What are you using instead of vscode?

---

<div class="post-metadata">

**Author:** ![NobbZ](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/nobbz/32/27235_2.png) [@NobbZ](https://forum.elixirforum.com/u/NobbZ)\
**Post date:** [December 24, 2020, 7:33pm UTC](https://forum.elixirforum.com/t/how-configure-visual-studio-code-for-elixir-intellisense/16092/11 "2020-12-24T19:33:02Z")

</div>

Emacs with lsp-mode and elixir-ls, as well as a plentora of others plugins.

---

<div class="post-metadata">

**Author:** ![catra](https://forum.elixirforum.com/letter_avatar_proxy/v4/letter/c/ee7513/32.png) [@catra](https://forum.elixirforum.com/u/catra)\
**Post date:** [January 17, 2021, 6:40pm UTC](https://forum.elixirforum.com/t/how-configure-visual-studio-code-for-elixir-intellisense/16092/12 "2021-01-17T18:40:01Z")

</div>

Thanks @NobbZ. It would be nice to have a place where we can know what other options are available to write Elixir code. I tried many months ago to use IntelliJ but I failed to fully work on it. Then I switched to VsCode and so far so good.
