PJUllrich

PJUllrich

Author of Building Table Views with Phoenix LiveView

Credo not working in VSCode

I am trying to integrate Credo checks into my VSCode setup, but for the love of god, I cannot make it work. Here’s what I’ve done:

  1. Add {:credo, "~> 1.5", only: [:dev, :test], runtime: false} to my mix.exs
  2. Run mix deps.get
  3. Install the VS Code - Elixir Linter (Credo) extension.
  4. Enabled the elixir.credo.onSave option.
  5. Set the elixir.credo.executePath to /Users/pullrich/.asdf/shims
  6. Keep elixir.credo.credoConfiguration as default
  7. Keep elixir.credo.configurationFile as .credo.exs
  8. Restart VSCode.

I can run mix credo from my command line just fine. But I’d really like to have it integrated into VSCode. I also have ElixirLS installed, and that one works fine, just the @spec-type suggestions don’t work.

I also can’t see a Credo-like extension when I open my Output panel of the integrated terminal.

Can somebody maybe give me some leads/things to check, please?

First Post!

PJUllrich

PJUllrich

Author of Building Table Views with Phoenix LiveView

Where Next?

Popular in Questions Top

JeremM34
Hello, how can I check the Phoenix version ? Thanks !
New
vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
siddhant3030
Hi, I have to write a raw query for one of my project. But till now I have used ecto queries and don’t have much experience writing raw ...
New
freewebwithme
Using vs code and installed ElixirLS: support and debugger. And I got an error popped up on start up says Failed to run ‘elixir’ comma...
New
fayddelight
I tried installing elixir 1.11.2 erlang 23.3.4 via asdf in my zsh shell. Enabled the versions locally and globally. When I list them ...
New

Other popular topics Top

nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
Qqwy
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum. ...
New
joeerl
Hello again - after a longish gap I’ve decided I really must dig into Elixir and see what’s been happening here - so I have a few questio...
New
sorentwo
Hello! tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability. After spen...
985 44778 311
New
WestKeys
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New

We're in Beta

About us Mission Statement