brainlid
What do you use to format your .html.leex and .html.eex files? I’m using VS Code and haven’t found a beautifier I’m happy with yet.
I’d also prefer not to install a Ruby gem for it to work.
Trending in Questions
Hello everyone!
I am new to coding with Elixir/Erlang. And i am looking for some utilities for fuzzing testing like AFL++.
Does anyone ...
New
I’m very new to Elixir, so sorry if this is a silly question:
I am wondering what happens to the mailbox of a process when the machine i...
New
How do I tell Hologram not to escape HTML when substituting into templates?
{Textile.render(@product.long_description)}
escapes the HTM...
New
Background
When trying to execute mix release on a Windows 11 machine for a Phoenix project I get the following error:
* assembling mark...
New
I load tested a plain Phoenix chat app backed by Postgres with 100 million messages in it, everything on default settings, to see what br...
New
I’d like to create a file with 600 permissions (rw-------), but there’s a race condition if I create it and then change the permissions. ...
New
Is there a way to import record definitions in the iex shell for pretty printing (similar to the rr command in the erl shell)? This woul...
New
Other Trending Topics
Nerves, NIFs, and Snake - Gus Workman | ElixirConf EU 2026
https://www.youtube.com/watch?v=oTuoPu4pYVs
Comments welcome! View the <spa...
New
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly)
AI dream has many faces, but general...
New
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #code-sync
- #discussion
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #ai
- #elixirconf-us
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #blog-post
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #security
- #elixirconf-eu
- #processes
- #api
- #forms
- #hex










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
brainlid
The general consensus I’ve gotten from others is that currently nothing works well and everyone is hand formatting them.
mindreframer
I have found a fresh project tackling formatting for
html.eexfiles via a Prettier plugin:Not sure how solid this library is, though. Maybe worth exploring.
adamzapasnik
I hope it’s solid enough
I think the only major problem right now is this:
https://github.com/adamzapasnik/prettier-plugin-eex/issues/6
But it should be solved by the end of this weekend. (I have a semi working solution atm)
mindreframer
Nice! Thanks for providing ideas for this topic, currently there is not much alternatives.
The installation instructions are a bit involved at the moment and the amount of TODO comments is a bit scary
I need to play with it on a bigger project and see how well it copes with real world markup. Anyways, I hope you get yourself more beta-users and they will help to improve your library!
ouven
Hi, I wrote and use YAB for eex/leex - Visual Studio Marketplace
Maybe you want to give it a try and send feedback. For me it works good enough.
Oh, I have missed your point, not to install a ruby gem
mindreframer
Nice, it worked quite OK for the couple files that I have thrown at it. It does not handle embedded markup in Liveviews, like:
I can image that this would be tricky to support, though.
Thanks for posting it, it was completely under my radar!
cenotaph
thank you! I was working with intellij and just switched to vscode as this was making me mad. I don’t even have OCD
praveenperera
Thanks for this, its pretty good but it doesn’t indent
inputs_forex:
praveenperera
So far this (prettier-plugin-eex) is the one that works the best.
I’m using it with vscode using Run on Save - Visual Studio Marketplace
Thank you for this
wtd423
I followed the readme til the end and format on save started to work with just the regular Prettier extension. Unfortunately it changed every line of
<% code... %>into<eext1>so don’t forget to commit your work before trying the eex plugin.