Closed eriklovlie closed 5 years ago
Thanks for reporting! I think you need to open Emacs at the directory where build.gradle
is defined. It's the LSP client that sends and information about the workspace root, not Metals.
We don't currently search for subdirectories and I don't think this is a use case we will support.
Describe the bug
I have a project that is inside a sub-directory, i.e. there's no
build.gradle
in the root directory of the git worktree. Themetals.log
says this after I open a scala file in this project in emacs:To Reproduce
Expected behavior
I expected the top-most build.gradle to define the root of the project, not the git root directory.