Skip to content

CLI arg to set project/workspace root #15294

@YPares

Description

@YPares

In a situation where helix doesn't correctly detect what should be the workspace root (ie. the folder containing a project's .helix/{config,languages}.toml), there is --working-dir that allows to change PWD before running helix. Helix then correctly detects and applies the config present in the new PWD, but I may not want to change the PWD (for instance if I only want to operate on a localized folder in my codebase).

I'd like to have a flag specifically to tell helix: "the root of my project is here, read project config from there", without changing anything else.

To be clear:

  • I'm NOT talking about LSP roots here
  • I want this to have a single workspace where I can factorize helix config throughout several git repos, to which I cannot push a helix config.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions