Open gworkman opened 3 months ago
I should also paste my helix languages.toml
config (pretty much default):
[language-server.lexical]
command = "/Users/gus/Projects/elixir/lexical/_build/dev/package/lexical/bin/start_lexical.sh"
config = { provideFormatter = true }
[[language]]
name = "elixir"
auto-format = true
language-servers = ["lexical"]
[[language]]
name = "heex"
language-servers = ["lexical"]
The actual error is a little bit above the noconnection one:
11:08:32.637 [error] Process #PID<0.1557.0> terminating
** (exit) {:error, :start_timeout}
(stdlib 5.2.3.1) gen_server.erl:961: :gen_server.init_it/6
(stdlib 5.2.3.1) proc_lib.erl:241: :proc_lib.init_p_do_apply/3
Initial Call: LXical.Server.Project.Node.init/1
It can't start your project node for some reason. Can you ensure all the files in <LEXICAL_INSTALL>/_build/dev/package/lexical/bin
are executable?
<LEXICAL_INSTALL>
is the directory where you've built lexical (/Users/gus/Projects/elixir/lexical/_build/dev/package/lexical/bin/
).
Thanks for the info - I believe everything is executable. The output of ls -lah
in the lexical package bin directory:
-rwxr-xr-x@ 1 gus staff 2.6K Aug 28 10:53 activate_version_manager.sh
-rwxr-xr-x@ 1 gus staff 580B Aug 28 10:53 boot.exs
-rwxr-xr-x@ 1 gus staff 230B Aug 28 10:53 debug_shell.sh
-rwxr-xr-x@ 1 gus staff 481B Aug 28 10:53 start_lexical.sh
This is tough to diagnose over github, would it be possible to join our discord? The link is in the readme.
Hello! Great work with lexical, I've been enjoying using it on my work setup for the last year or so.
I'm trying to make the switch my personal laptop, but have been running into issues getting it to work. My setup consists of
mise
for version management andhelix
as my editor. From the log files, it doesn't seem like it can make an:erpc
connection.Not really sure what I should be looking for to make it work. I'm on an Intel Mac. Thanks in advance!
In lexical directory (v0.7.1 tag from GitHub):
In a fresh Phoenix directory:
The
lexical.log
file:The helix log file: