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


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Its Working!!! no idea why its just started. - i tried a different elixir project - thats all.</p>
<p>I dont have a languages.toml so I must be using the builtin elixirls</p>
<p>When you press space k how do jump into the docs and scroll through to links like you can in vscode?</p>
<p>have you got Mix format working too by any chance?</p>
<p>I tried lsp-restart and it just says – Language server exited - but elixirls is still working with space k</p>
<p>thanks cloudyday for your help - I can move on now and start learning how to use hx for elixir projects. I am hoping it will get rid of the massive memory hogging I get when I have mutiple vscode windows open.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="285743" 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/helix-editor-for-elixir-development/54964/22">Post #21</a>
	                </div>
	            </div>
              <div id="likers-container-285743" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="285743"
                     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 #21"></div>
  </section>
</div>
    <div class="postbit" id="285745" data-post-id="285745">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<blockquote>
<p>I tried lsp-restart and it just says – Language server exited</p>
</blockquote>
<p>Yeah that’s exactly what you want to see, so all good.</p>
<blockquote>
<p>I dont have a languages.toml</p>
</blockquote>
<p>But that’s where you’re supposed to put the Helix configuration for Elixir, so where did you put it, then? It should be <code>~/.config/helix/languages.toml</code>.</p>
<blockquote>
<p>When you press space k how do jump into the docs and scroll through to links like you can in vscode?</p>
</blockquote>
<p>You can’t follow the links in the docs, but you can scroll them via Ctrl+U (up) and Ctrl+D (down). And to view the source of something, you can <code>gd</code> with the cursor on top of it. See <a href="https://cheatography.com/hiddenmonkey/cheat-sheets/helix/" rel="noopener nofollow ugc">a cheat sheet</a> and <a href="https://docs.helix-editor.com/keymap.html" rel="noopener nofollow ugc">the full keymap.</a></p>
<blockquote>
<p>have you got Mix format working too by any chance?</p>
</blockquote>
<p>Yeah I don’t actually use it but it works by typing <code>:format</code>. You can also add <code>auto-format = true</code> to you <code>languages.toml</code> so that it formats on each file save automatically. Nice to see it worked out for you, you’re welcome <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="285745" 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/helix-editor-for-elixir-development/54964/23">Post #22</a>
	                </div>
	            </div>
              <div id="likers-container-285745" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="285745"
                     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 #22"></div>
  </section>
</div>
    <div class="postbit" id="285752" data-post-id="285752">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><em>But that’s where you’re supposed to put the Helix configuration for Elixir, so where did you put it, then? It should be <code>~/.config/helix/languages.toml</code>.</em></p>
<p>I guess that hx is using the builtin elixirls config found in the repo link you sent me <a href="https://github.com/helix-editor/helix" rel="noopener nofollow ugc">helix</a>/<strong>languages.toml</strong></p>
<p>but I had tried adding the languages.toml to ~/.config/helix when following the initial instructions in this thread.</p>
<p>@ aiwaiwa<br>
I have now added a languages.toml and merged the settings from  <a href="https://github.com/helix-editor/helix" rel="noopener nofollow ugc">helix</a>/<strong>languages.toml</strong> with this threads settings.</p>
<p>~/.config/helix                                                                                                                                                                                                           8m 39s 16:15:54<br>
❯ ls<br>
config.toml    languages.toml</p>
<p>Languages.toml now looks like this…<br>
[[language]]<br>
name = “elixir”<br>
scope = “source.elixir”<br>
injection-regex = “(elixir|ex)”<br>
file-types = [“ex”, “exs”, “heex”]<br>
shebangs = [“elixir”]<br>
roots = [“mix.exs”]<br>
auto-format = true<br>
diagnostic-severity = “Hint”<br>
comment-token = “#”<br>
indent = {tab-width = 2, unit = " "}<br>
language-server = {command = “elixir-ls”}<br>
config = { elixirLS.dialyzerEnabled = false }</p>
<p>my config.toml looks like this and are settings from <a href="https://www.youtube.com/@LukePighetti/videos" rel="noopener nofollow ugc">https://www.youtube.com/@LukePighetti/videos</a></p>
<p>its still working… tried Ctrl+U (up) and Ctrl+D (down) and gd</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="285752" 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/helix-editor-for-elixir-development/54964/24">Post #23</a>
	                </div>
	            </div>
              <div id="likers-container-285752" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="285752"
                     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 #23"></div>
  </section>
</div>
    <div class="postbit" id="285756" data-post-id="285756">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Glad to hear it’s working!</p>
<p>It seems your ElixirLS is a bit old (<code>0.14.3</code> is the latest), may be you could build it from source. It’s quite straightforward.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="285756" 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/helix-editor-for-elixir-development/54964/25">Post #24</a>
	                </div>
	            </div>
              <div id="likers-container-285756" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="285756"
                     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 #24"></div>
  </section>
</div>
    <div class="postbit" id="285757" data-post-id="285757">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>That’s exactly the configuration you want. If you wish to add more languages, you add their configuration to the same <code>languages.toml</code> file. If you’re interested, here are some extra keymaps that I’ve added to my <code>~/.config/helix/config.toml</code>:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir"># ----- Keymaps
[keys.normal]
C-s = ":w" # Save files with Ctrl+S (not sure what that would be on Macs)
C-o = ":open ~/.config/helix/config.toml" # Ctrl+O to open the config
g = { a = "code_action" } # ga to open code actions
X = "extend_line_above" # Shift+x to select the whole line above
D = ["goto_first_nonwhitespace", "extend_to_line_end", "change_selection"] # Wipe and edit the current line
c = ["trim_selections", "change_selection"] # Make 'c' automatically strip the selection of extra whitespace
a = ["append_mode", "collapse_selection"] # Remove the selection when entering insert mode with 'a'
"tab" = "goto_next_function" # Select and jump to the next function via Treesitter
"S-tab" = "goto_prev_function" # Select and jump to the previous function via Treesitter
</code></pre>
<p>Happy coding!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="285757" 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/helix-editor-for-elixir-development/54964/26">Post #25</a>
	                </div>
	            </div>
              <div id="likers-container-285757" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="285757"
                     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 #25"></div>
  </section>
</div>
    <div class="postbit" id="285759" data-post-id="285759">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>added…to config.toml [keys.normal] section</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">[keys.normal]
esc = ["collapse_selection", "keep_primary_selection"]
ret = ["move_line_down", "goto_first_nonwhitespace"]
0   = "goto_line_start"
C-s = ":w" # Save files with Ctrl+S (not sure what that would be on Macs)
C-o = ":open ~/.config/helix/config.toml" # Ctrl+O to open the config
g = { a = "code_action" } # ga to open code actions
X = "extend_line_above" # Shift+x to select the whole line above
D = ["goto_first_nonwhitespace", "extend_to_line_end", "change_selection"] # Wipe and edit the current line
c = ["trim_selections", "change_selection"] # Make 'c' automatically strip the selection of extra whitespace
a = ["append_mode", "collapse_selection"] # Remove the selection when entering insert mode with 'a'
"tab" = "goto_next_function" # Select and jump to the next function via Treesitter
"S-tab" = "goto_prev_function" # Select and jump to the previous function via Treesitter
</code></pre>
<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="285759" 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/helix-editor-for-elixir-development/54964/27">Post #26</a>
	                </div>
	            </div>
              <div id="likers-container-285759" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="285759"
                     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 #26"></div>
  </section>
</div>
    <div class="postbit" id="285760" data-post-id="285760">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I did find a link to adding ElixiLS from source yesterday but I have so many tabs open its got lost - I will find it somewhere..</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="285760" 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/helix-editor-for-elixir-development/54964/28">Post #27</a>
	                </div>
	            </div>
              <div id="likers-container-285760" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="285760"
                     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 #27"></div>
  </section>
</div>
    <div class="postbit" id="285763" data-post-id="285763">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>There are also prebuilt binaries available at <a href="https://github.com/elixir-lsp/elixir-ls/releases" class="inline-onebox" rel="noopener nofollow ugc">Releases · elixir-lsp/elixir-ls · GitHub</a>. But do note that once you either compile one yourself or download a prebuilt one, you will end up with a .sh launcher which you will need to create a symlink for and make sure this symlink is available in your path. For example, I downloaded a prebuilt release and put the zip contents into <code>~/.local/share/elixirls</code>, then created a symlink to <code>~/.local/share/elixirls/language_server.sh</code> and put it into <code>~/.local/bin</code> (which is in my <code>$PATH</code>).</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="285763" 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/helix-editor-for-elixir-development/54964/29">Post #28</a>
	                </div>
	            </div>
              <div id="likers-container-285763" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="285763"
                     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 #28"></div>
  </section>
</div>
    <div class="postbit" id="285805" data-post-id="285805">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>I installed it and went over the tutor. Didn’t try it on a project yet. So far it looks good. Never heard of this editor so thanks for the post!</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="285805" 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/helix-editor-for-elixir-development/54964/30">Post #29</a>
	                </div>
	            </div>
              <div id="likers-container-285805" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="285805"
                     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 #29"></div>
  </section>
</div>
    <div class="postbit" id="285807" data-post-id="285807">
  <section>
    <div class="post-wrap">


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

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>BTW there’s also a “Helix mode” <a href="https://marketplace.visualstudio.com/items?itemName=silverquark.dancehelix" rel="noopener nofollow ugc">extension</a> for VS code. I’ve just tried it and it’s surprisingly good, the only flaw I noticed so far is deleting the wrong bracket pairs upon typing <code>md(</code>. Good to know because I really needed to combine the wide reach of VSC plugins and ergonomics of Helix (vim feels painful for me).</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="285807" 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/helix-editor-for-elixir-development/54964/31">Post #30</a>
	                </div>
	            </div>
              <div id="likers-container-285807" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="285807"
                     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 #30"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/54964/load_more?page=4">Load more posts (36 remaining)</a>
</div></template></turbo-stream>