Skip to content

Single File ElixirLS Alert “No mixfile found in project..." #518

@andyl

Description

@andyl

Background

When editing a single elixir file (an elixir script), ElixirLS gives a warning:

image

Elixir 1.12 has a new feature (Mix.install) that streamlines the process of writing and sharing single-file Elixir Scripts. I believe that single-file elixir scripts will be used more frequently, and that it would be good for ElixirLS to support this use case.

This issue is discussed in more detail on the Elixir Forum:

https://elixirforum.com/t/getting-rid-of-elixirls-alert-no-mixfile-found-in-project-to-use-a-subdirectory/38534

Feature Request

Create a feature that disables ElixirLS for a given file

- OR -

If a shebang and Mix.install is detected, apply ElixirLS to the script and the dependency tree that it generates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions