# VS Code Broken for Elixir?

**URL:** <https://forum.elixirforum.com/t/vs-code-broken-for-elixir/27100>\
**Category:** Discussions\
**Tags:** tools, learning-resources, learning-elixir\
**Created:** [November 25, 2019, 1:07pm UTC](https://forum.elixirforum.com/t/vs-code-broken-for-elixir/27100 "2019-11-25T13:07:40Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![brainlid](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/brainlid/32/20975_2.png) [@brainlid](https://forum.elixirforum.com/u/brainlid)\
**Post date:** [November 25, 2019, 1:07pm UTC](https://forum.elixirforum.com/t/vs-code-broken-for-elixir/27100/1 "2019-11-25T13:07:40Z")

</div>

You tried the [ElixirLS extension](https://marketplace.visualstudio.com/items?itemName=JakeBecker.elixir-ls) for [VS Code](https://code.visualstudio.com/) and gave up? [This guide](https://thinkingelixir.com/vs-code-broken-for-elixir/) helps you diagnose and fix issues getting you back on the productive Elixir development path!

[Article](https://thinkingelixir.com/vs-code-broken-for-elixir/)

---

<div class="post-metadata">

**Author:** ![Rainer](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/rainer/32/15469_2.png) [@Rainer](https://forum.elixirforum.com/u/Rainer)\
**Post date:** [November 25, 2019, 1:23pm UTC](https://forum.elixirforum.com/t/vs-code-broken-for-elixir/27100/2 "2019-11-25T13:23:01Z")

</div>

There’s also a more recent fork, which should be used instead 😉

> **[ElixirLS Fork: DEPRECATED (use original extension) - Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=elixir-lsp.elixir-ls)**
>
> Extension for Visual Studio Code - Deprecated. Use this instead: https://marketplace.visualstudio.com/items?itemName=JakeBecker.elixir-ls

---

<div class="post-metadata">

**Author:** ![brainlid](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/brainlid/32/20975_2.png) [@brainlid](https://forum.elixirforum.com/u/brainlid)\
**Post date:** [November 26, 2019, 2:06pm UTC](https://forum.elixirforum.com/t/vs-code-broken-for-elixir/27100/3 "2019-11-26T14:06:56Z")

</div>

I added a section to the article about the fork. However, I’ve reviewed the merged PRs and didn’t see any compelling reason why the fork should be used. Can you clarify why you feel it **should** be used instead?

---

<div class="post-metadata">

**Author:** ![paulsullivanjr](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/paulsullivanjr/32/14688_2.png) [@paulsullivanjr](https://forum.elixirforum.com/u/paulsullivanjr)\
**Post date:** [November 26, 2019, 2:32pm UTC](https://forum.elixirforum.com/t/vs-code-broken-for-elixir/27100/4 "2019-11-26T14:32:05Z")

</div>

From what I’ve read the original fork has gotten stale so any new updates would be done on this new fork.

---

<div class="post-metadata">

**Author:** ![fun2src](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/fun2src/32/16067_2.png) [@fun2src](https://forum.elixirforum.com/u/fun2src)\
**Post date:** [November 26, 2019, 2:32pm UTC](https://forum.elixirforum.com/t/vs-code-broken-for-elixir/27100/5 "2019-11-26T14:32:32Z")

</div>

Hi,

> [@Shall we start an ElixirLS fork?](https://forum.elixirforum.com/t/shall-we-start-an-elixirls-fork/26662):
>
> I use Visual Studio Code, and the ElixirLS extension is a must have to code in Elixir. Unfortunately, it seems to have gone stale over the past few months, and I seem to have read that the author didn’t have much time nor energy to keep track of the open issues and PRs. At the time of writing the last commit is from August, but what concerns me the most is that it depends on the elixir\_sense repo which has been renamed since April, has received more than 130 commits since but has not yet been …

---

<div class="post-metadata">

**Author:** ![brainlid](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/brainlid/32/20975_2.png) [@brainlid](https://forum.elixirforum.com/u/brainlid)\
**Post date:** [November 27, 2019, 12:23pm UTC](https://forum.elixirforum.com/t/vs-code-broken-for-elixir/27100/6 "2019-11-27T12:23:22Z")

</div>

Ah! That make sense. The main benefit of the fork is keeping up with changes made in [`elixir_sense`](https://github.com/msaraiva/elixir_sense) run by Marlus. That has been forked [here](https://github.com/elixir-lsp/elixir_sense) and Marlus is involved in the fork and active development is happening.

So **that** is a good reason to use the Fork. Thanks!

I’ll update my post.

---

<div class="post-metadata">

**Author:** ![brainlid](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/brainlid/32/20975_2.png) [@brainlid](https://forum.elixirforum.com/u/brainlid)\
**Post date:** [November 27, 2019, 1:11pm UTC](https://forum.elixirforum.com/t/vs-code-broken-for-elixir/27100/7 "2019-11-27T13:11:15Z")

</div>

Thanks for the info. I also updated my other post [telling people to use the ElixirLS extension in VS Code](https://thinkingelixir.com/elixir-in-vs-code/).

---

<div class="post-metadata">

**Author:** ![malloryerik](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/malloryerik/32/29215_2.png) [@malloryerik](https://forum.elixirforum.com/u/malloryerik)\
**Post date:** [November 28, 2019, 3:30am UTC](https://forum.elixirforum.com/t/vs-code-broken-for-elixir/27100/8 "2019-11-28T03:30:46Z")

</div>

Also, to get html.eex files to work properly, you can update your **settings.json** file so that `files.associations": { *.html.EEx: ... }` is set to `"HTML (EEx)"` and not just “html” or “EEx”.

```elixir
"files.associations": {
    "*.js": "javascript",
    "*.ex": "elixir",
    "*.exs": "elixir",
    "*.eex": "EEx",
    "*.html.EEx": "HTML (EEx)"
},

```

Eex seems to work in VS Code as an embedded language after that, with syntax highlighting, intellisense, and so on for both html and eex at once.
