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:
- Add
{:credo, "~> 1.5", only: [:dev, :test], runtime: false}to mymix.exs - Run
mix deps.get - Install the VS Code - Elixir Linter (Credo) extension.
- Enabled the
elixir.credo.onSaveoption. - Set the
elixir.credo.executePathto/Users/pullrich/.asdf/shims - Keep
elixir.credo.credoConfigurationasdefault - Keep
elixir.credo.configurationFileas.credo.exs - 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
Author of Building Table Views with Phoenix LiveView
It turned out that there’s a bug with showing the errors: Displaying of credo warnings throws "Illegal Argument" error · Issue #9 · pantajoe/vscode-elixir-credo · GitHub
0
Popular in Questions
Hello, how can I check the Phoenix version ?
Thanks !
New
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
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum.
...
New
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
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
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
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
Hi!
In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir?
Searched the docs for ip address and the web, no good results.
Thanks!
New
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
Original source of discussion: This topic on the Pragmatic Programmers’ Functional Web Development with Elixir, OTP, and Phoenix forum.
...
New
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
Hello!
tl;dr Announcing Oban, an Ecto based job processing library with a focus on reliability and historical observability.
After spen...
New
Currently suffering from paralysis by [HTTP client] analysis. This is rather unusual in Elixirland as there tends to be consensus on the ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex











