This Week's Trending
This Month's Trending
This Year's Trending
I often will get reminded by credo to sort my alias calls like below.
Is there a way I could configure the Elixir formatter (that is kic...
New
I’ve been recently been doing the “vibe coding” thing a lot using cursor and I’m finding that very frequently the models don’t group live...
New
Last Three Year's Trending
Hey there, doea anybody know if there is a way to configure livebook’s code formatter? Where is its .formatter.exs?
New
I’m posting this as a reference as I couldn’t find a post related to this error message.
This issue can arise in umbrella projects that ...
New
Hi all,
my editor (neovim + elixir-ls via coc.nvim) does format on save.
Randomly, it adds parenthesis around macros, so I have a diff ...
New
I see that Elixir now comes with a .formatter.exs file:
# Used by "mix format"
[
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**...
New
I use Elixir 1.15.7 OTP 26 both in development (Windows) and on a GitHub runner (ubuntu-latest).
The GH Action fails on: mix format --ch...
New
Hi there,
me and my friend are working on the same project and we use the mix format command to format our code. The problem is that he ...
New
I’m building a library that’s constantly re generating certain modules, building them from string templates. The generated modules includ...
New
Hello there, it’s been a while since I used elixir for my development last time.
I’d like to use formatter of mix in my project.
first ...
New
We’re currently trying to tighten up standards on an existing code base. One of the current topics is about line length, specifically on ...
New
I know you can use plugins, but I couldn’t find any in the hex repos for formatting CSS and JS/TS. What’s the recommended solution for this?
New
I love the Elixir formatter. In fact, I’ve started using it for ordinary HTML files as well: GitHub - ream88/formatter: Format any HTML w...
New
I really like the formatter, was one of the best additions to the Elixir code base ever, and with the support for .heex files, it became ...
New
For example, this is what the current formatter config is generating:
cond do
!String.starts_with?(message, "!!") -> :error...
New
Is there a formatter option that groups same-arity functions grouped (or at least abstains from inserting a newline from already grouped ...
New
I’ve come across a few instances recently where the built-in formatter is breaking otherwise working code. As an example, take a Phoenix ...
New
Trending Over Three Years
Hello folks! Are there any libraries for formatting of HEEx templates?
New
Hi people :wave:
We have been working on a Formatter to format Heex templates. The idea is to have a similar experience as we do when fo...
New
Hi! I’m wondering if I should use formatter of elixir. I have never used any formatters in past projects.
So do you use formatter? And w...
New
Hello everyone, I have a noob question about formatter…
I have this code
@attack_array [
0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,2,0,0,0,...
New
I’m working my way through the Programming Phoenix > 1.4 book and I’ve got a problem with the formatter.
I’m using Atom with Elixir a...
New
Is it possible to configure the formatter to exclude some files?
I’m currently using this as the default .formatter.exs:
[
inputs: ["...
New
Between Elixir Time and Timex I can’t seem to figure out how to get a simple time and format it conventionally. Does anyone know how to d...
New
I have this .formatter.exs file next to my mix.exs
[
inputs: ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"],
import_dep...
New
My partner and I are working on a codebase together and we have something different in our setup that is causing his system to add parens...
New
Background
I am using VSCode to do my Phoenix app, however, when modifying the app.css I realized the formatting was literally breaking m...
New
Hi there,
I’m currently following an Elixir tutorial and I have the following lines of code in my project:
Path.join([path, file])
...
New
Background
I am using VIM and I would like for vim to run mix format on save (:w).
However, I cannot find anything that does this.
Does...
New
Why was 98 chosen as the magic number? I can’t find any reference or explanation for it. Usually I see 80, 100 or 120 as the preferred li...
New
I am curious about :export and :import_deps in the formatter config files.
I am assuming, for example, that if I import deps from phoeni...
New
I’ve been fighting a little bit of a battle with my formatters in vs code. I’m not even sure what is formatting my heex at the moment, bu...
New
Latest on Elixir Forum
Get money off!
The Pragmatic Bookshelf
35% off any eBook
Manning Publications
45% off any item
ElixirCasts
10% off for life
The Pragmatic Studio
20% off any course
AppSignal
10% off for 12 months
Honeybadger
10% off for 12 months
Simply use coupon code "devtalk.com" or "elixirforum" at checkout!
Filter by Type:
Sub Categories:
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #exunit
- #elixirconf
- #discussion
- #javascript
- #podcasts
- #code-sync
- #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
- #advent-of-code
- #distillery
- #api
- #processes
- #forms
- #metaprogramming
- #security
- #performance
- #hex







