Skip to content

Nextls server running in wrong workspace, keeps notifying of failed install deps #95

@rvonzimr

Description

@rvonzimr

I have a few separate elixir projects that I normally keep in a single workspace. Right now I'm seeing strange behavior looking at the nextLS log. With a few elixir projects app, chat, and core, within ./app/.elixir-tools/next-ls.log, I see:

10:04:52.454 [debug] sent notification server -> client $/progress

10:04:52.454 [debug] sent notification server -> client window/logMessage

10:04:52.454 [debug] Runtime for folder core is ready...

It seems NextLS is using the wrong project root between projects? Sometimes it doesn't complain, and things seem to work, other times it will continue to request to reinstall deps.. leading to duplicate builds running on each workspace:
image

when this happens, in the app log, I see:

10:10:21.423 [error] Runtime for folder chat failed to initialize

10:10:21.423 [debug] sent notification server -> client window/logMessage

10:10:21.423 [error] The runtime for chat has crashed with reason: {:shutdown, :unchecked_dependencies}

I noticed a closed issue that seems related: #85 Is this something that will not ever be supported? Hoping to switch away from Elixir LS, as it's very slow in giving back useful info but it does support workspaces. Here's the output panel showing each extension being run:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions