idlehands
Possible to skip formatting comments with the formatter?
Hey folks. I am writing some code that is embedded in a book and am using the Elixir formatter to make sure the code lines aren’t too long and that the code is formatted as readers would expect it. I typically use the code formatter as-is but in this case, I need to figure out if there is a way to get it to leave in-line comments alone as the comments that I’m referring to are actually for callouts in the book.
I’ve read the docs and it doesn’t look like there is a way for me to do this but I thought I would ask to see if anyone else has done this before I give up.
Thanks.
Marked As Solved
idlehands
I had a core team member confirm that this can’t be done both due to style choices, but more importantly, there is a technical limitation that prevents it.
So, I will just keep moving those comments back. 
Also Liked
kokolegorille
I had the same question in this topic…
but the solution provided will not fit your use case.








