<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="67753" data-post-id="67753">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="Deithrian" src="/assets/icons/user-9f439610.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  Deithrian
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Yeah, I’m not gonna be using it, since these are not bugs.<br>
I just don’t understand why you guys committed to having parentheses, but then remove them from if statements, then completely ignore why they exist in the first place, by placing closing ones on new lines, and then double the lines of code with new line for everything, not to mention what the formatter does with code that uses long, descriptive names.<br>
My code looks like a Tasmanian devil went and had its way with every line. <img src="https://forum.elixirforum.com/images/emoji/apple/joy.png?v=15" title=":joy:" class="emoji" alt=":joy:" loading="lazy" width="20" height="20"><br>
I’ll pray that it doesn’t get adopted <img src="https://forum.elixirforum.com/images/emoji/apple/blush.png?v=15" title=":blush:" class="emoji" alt=":blush:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="67753" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/running-the-new-elixir-formatter/9344/143">Post #142</a>
	                </div>
	            </div>
              <div id="likers-container-67753" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="67753"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #142"></div>
  </section>
</div>
    <div class="postbit" id="69465" data-post-id="69465">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="RomanKotov" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/RomanKotov/120/25676_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  RomanKotov
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thank you for great formatting tool. I’ve found it very helpful.</p>
<p>After generating new umbrella project I started adding <strong>.formatter.exs</strong> file with the following contents:</p>
<pre><code>[
  inputs: ["mix.exs", "{apps,config}/**/*.{ex,exs}"],
]
</code></pre>
<p>But <code>mix format</code> failed to format some files</p>
<pre><code>mix format failed for file: apps/app_web/assets/node_modules/phoenix/priv/templates/phx.gen.schema/schema.ex
** (SyntaxError) apps/app_web/assets/node_modules/phoenix/priv/templates/phx.gen.schema/schema.ex:1: syntax error before: '='
    (elixir) lib/code.ex:442: Code.format_string!/2
    (mix) lib/mix/tasks/format.ex:293: Mix.Tasks.Format.format_file/3
    (elixir) lib/task/supervised.ex:88: Task.Supervised.do_apply/2
    (elixir) lib/task/supervised.ex:38: Task.Supervised.reply/5
    (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
</code></pre>
<p>This error is due the file with .ex extension contains some string interpolations, like <code>defmodule &lt;%= inspect schema.module %&gt; do</code>. This fact is not a problem, because entire node_modules dir is in <code>.gitignore</code>, so <code>.formatter.exs</code> inputs must skip formatting this file. I would like to share my solution of this problem, because I think someone else could find it helpful.</p>
<p>Now my basic <code>.formatter.exs</code> file looks like:</p>
<pre><code>inputs = "git ls-files | grep -E \"*\\.exs?$\""
         |&gt; String.to_charlist()
         |&gt; :os.cmd()
         |&gt; to_string()
         |&gt; String.split(~r{(\r\n\|\r|\n)}, trim: true)

[
  inputs: inputs,
]
</code></pre>
<p>So it formats elixir files only under the version source root.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="69465" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/running-the-new-elixir-formatter/9344/144">Post #143</a>
	                </div>
	            </div>
              <div id="likers-container-69465" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="69465"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #143"></div>
  </section>
</div>
    <div class="postbit" id="69601" data-post-id="69601">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="kelvinst" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/kelvinst/120/10173_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  kelvinst
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I had the same problem, but my solution was a little bit different:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">[
  inputs: [
    "mix.exs",
    "apps/*/{config,lib,test,priv}/**/*.{ex,exs}",
    "config/**/*.{ex,exs}"
  ]
]
</code></pre>
<p><img src="https://forum.elixirforum.com/images/emoji/apple/wink.png?v=15" title=":wink:" class="emoji only-emoji" alt=":wink:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="69601" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/running-the-new-elixir-formatter/9344/145">Post #144</a>
	                </div>
	            </div>
              <div id="likers-container-69601" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="69601"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #144"></div>
  </section>
</div>
    <div class="postbit" id="69620" data-post-id="69620">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="josevalim" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/josevalim/120/1787_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  josevalim
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Creator of Elixir</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>We will tackle it in the next release, we have an open issue here: <a href="https://github.com/elixir-lang/elixir/issues/7280" class="inline-onebox" rel="nofollow">Figure out how .formatter.exs should work in umbrellas · Issue #7280 · elixir-lang/elixir · GitHub</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="69620" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/running-the-new-elixir-formatter/9344/146">Post #145</a>
	                </div>
	            </div>
              <div id="likers-container-69620" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="69620"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #145"></div>
  </section>
</div>
    <div class="postbit" id="71782" data-post-id="71782">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="rayex" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/rayex/120/12543_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  rayex
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hi,</p>
<p>I like the new code formatter. I just noticed an inconsistency though between the <strong>with</strong> and <strong>if</strong> formats:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">  def new(type, %Coord{} = origin) when type in @types do
    with %MapSet{} = coords &lt;- coords(@offsets[type], origin),
         do: {:ok, %Island{type: type, coords: coords, hits: MapSet.new()}},
         else: ({:error, _reason} -&gt; {:error, :invalid_island_args})
  end
</code></pre>
<pre data-code-wrap="elixir"><code class="lang-elixir">  def guess(%Island{} = island, %Coord{} = guess) do
    if MapSet.member?(island.coords, guess),
      do: {:hit, update_in(island.hits, &amp;MapSet.put(&amp;1, guess))},
      else: :miss
  end
</code></pre>
<p>As you can see above, the <strong>do:</strong> and <strong>else:</strong> clauses are more indented for <strong>with</strong> than for <strong>if</strong>.<br>
And I understand why but it just struck me.</p>
<p>Thanks</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="71782" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/running-the-new-elixir-formatter/9344/147">Post #146</a>
	                </div>
	            </div>
              <div id="likers-container-71782" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="71782"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #146"></div>
  </section>
</div>
    <div class="postbit" id="71781" data-post-id="71781">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="OvermindDL1" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/OvermindDL1/120/2677_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  OvermindDL1
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Yep it bugs me too, it’s because <code>with</code> is a multi-arity function call (ack!  Those should be banned from elixir!), however you can kind of ‘work around’ it by surrounding the with ‘arguments’ with parenthesis (which is what I do now since the formatter broke my previous <code>with\</code> syntax form), like:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">  def new(type, %Coord{} = origin) when type in @types do
    with(
      %MapSet{} = coords &lt;- coords(@offsets[type], origin),
      do: {:ok, %Island{type: type, coords: coords, hits: MapSet.new()}},
      else: ({:error, _reason} -&gt; {:error, :invalid_island_args})
    )
  end
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="71781" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/running-the-new-elixir-formatter/9344/148">Post #147</a>
	                </div>
	            </div>
              <div id="likers-container-71781" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="71781"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #147"></div>
  </section>
</div>
    <div class="postbit" id="73143" data-post-id="73143">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="scarfacedeb" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/scarfacedeb/120/7768_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  scarfacedeb
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>What’s the consensus on grouping multiline functions with the new formatter?</p>
<p>I know that it still allows to group one-line functions, but it’s no longer possible to apply the same styling to the longer functions.</p>
<p>I noticed that it was a quite common way to format the code, e.g. hex.pm grouped multiline functions not long ago:<br>
<a href="https://github.com/hexpm/hexpm/blob/c8d753f811ce7ecf20b1110fbe8d2185655e50ec/lib/hexpm/accounts/audit_log.ex#L12" class="onebox" target="_blank" rel="noopener nofollow ugc">https://github.com/hexpm/hexpm/blob/c8d753f811ce7ecf20b1110fbe8d2185655e50ec/lib/hexpm/accounts/audit_log.ex#L12</a></p>
<p>But now it was run through new formatter, and I think that it looks worse (notice haphazard new lines around <code>extract_params</code>):<br>
<a href="https://github.com/hexpm/hexpm/blob/master/lib/hexpm/accounts/audit_log.ex#L61" class="onebox" target="_blank" rel="noopener nofollow ugc">https://github.com/hexpm/hexpm/blob/master/lib/hexpm/accounts/audit_log.ex#L61</a></p>
<p>I’m aware that the formatter doesn’t know what’s a function, and therefore cannot make an intelligent decision here. But does it mean that the official position is against the old style of grouping and you aren’t planning to bring that ability back? <img src="https://forum.elixirforum.com/images/emoji/apple/pensive.png?v=15" title=":pensive:" class="emoji" alt=":pensive:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="73143" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/running-the-new-elixir-formatter/9344/149">Post #148</a>
	                </div>
	            </div>
              <div id="likers-container-73143" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="73143"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #148"></div>
  </section>
</div>
    <div class="postbit" id="77149" data-post-id="77149">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="sasajuric" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/sasajuric/120/991_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  sasajuric
                  </h3>
		          </div>
						
			          <div class="user-title">
									<span>Author of Elixir In Action</span>
			          </div>
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>EDIT: José confirmed on IRC that the behaviour I’ve reported in this post is a bug, so I <a href="https://github.com/elixir-lang/elixir/issues/7535" rel="noopener nofollow ugc">created the issue on Github</a>.</p>
<p>I’ve noticed some weird formatter behaviour in Elixir 1.6.4, which I personally don’t like. I’m not sure if it’s a feature or a bug, so I’m reporting it here.</p>
<p>From what I can tell, the formatter seems to respect my vertical choice of function parameters. So both of the following are fine:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">Enum.reduce(foo, bar, baz)

Enum.reduce(
  foo,
  bar,
  baz
)
</code></pre>
<p>This is cool, because in some cases, I like to break each param on a separate line, even if the line itself is not long.</p>
<p>Now, if the last param is a lambda, the formatter doesn’t respect the vertical choice. In other words, if I start with this code:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">Enum.reduce(
  foo, 
  bar, 
  fn el, acc -&gt; baz(el, acc) end
)
</code></pre>
<p>It’s always turned into</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">Enum.reduce(foo, bar, fn el, acc -&gt; baz(el, acc) end)
</code></pre>
<p>That becomes somewhat annoying when the lambda is multiline, because my code is always force formatted into</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">Enum.reduce(foo, bar, fn el, acc -&gt;
  baz(el)
  qux(acc)
end)
</code></pre>
<p>Personally, I have problems when reading this layout, because the lambda arguments are further right than the body.</p>
<p>This becomes particularly annoying in the following case:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">Enum.reduce(
  moderately_complex_expression, 
  moderately_complex_expression, 
  fn element, accumulator -&gt;
    do_something(element)
    do_something(accumulator)
  end
)
</code></pre>
<p>The code gets reformatted into:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">Enum.reduce(moderately_complex_expression, moderately_complex_expression, fn element,
                                                                             accumulator -&gt;
  do_something(element)
  do_something(accumulator)
end)
</code></pre>
<p>Which I find quite terrible to read.</p>
<p>Of course, the code can be improved by using temp local vars and/or named functions, but in some cases I just prefer to inline everything. Sadly, given the formatted code above, inlining is not an option anymore.</p>
<p>So my question would be: is such formatting intended or is this a bug?</p>
<p>cc <a class="mention" href="/u/josevalim" rel="nofollow">@josevalim</a></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="77149" data-batch-url="/posts/batch_likers">
                        5
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/running-the-new-elixir-formatter/9344/150">Post #149</a>
	                </div>
	            </div>
              <div id="likers-container-77149" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="77149"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #149"></div>
  </section>
</div>
    <div class="postbit" id="77212" data-post-id="77212">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="OvermindDL1" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/OvermindDL1/120/2677_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  OvermindDL1
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="sasajuric" data-post="150" data-topic="9344">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/sasajuric/48/991_2.png" class="avatar"> sasajuric:</div>
<blockquote>
<p>EDIT: José confirmed on IRC that the behaviour I’ve reported in this post is a bug, so I created the issue on Github .</p>
</blockquote>
</aside>
<p>For anyone curious, it’s fixed in master.  <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="77212" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/running-the-new-elixir-formatter/9344/151">Post #150</a>
	                </div>
	            </div>
              <div id="likers-container-77212" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="77212"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #150"></div>
  </section>
</div>
    <div class="postbit" id="102334" data-post-id="102334">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="jozef" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/jozef/120/12501_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  jozef
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>You can always use</p>
<pre><code>alias Foo.Api.Google, as: ApiGoogle
alias Foo.Authentication.Google, as: AuthenticationGoogle
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="102334" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/running-the-new-elixir-formatter/9344/152">Post #151</a>
	                </div>
	            </div>
              <div id="likers-container-102334" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="102334"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-last-post cat-last-post" title="Last post!"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <span class="all-loaded">— All posts loaded —</span>
</div></template></turbo-stream>