Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow working with an empty workspace #231

Open
tgodzik opened this issue Aug 31, 2021 · 0 comments
Open

Allow working with an empty workspace #231

tgodzik opened this issue Aug 31, 2021 · 0 comments

Comments

@tgodzik
Copy link
Contributor

tgodzik commented Aug 31, 2021

Is your feature request related to a problem? Please describe.

When editors are not opened in a particular workspace they will not, in most cases, send Metals a workspace directory, which will cause Metals server to not work at all even in a case of a standalone file or worksheet.

Describe the solution you'd like

We should allow some providers to work with no workspace folder whenever it makes sense.

Describe alternatives you've considered

We could send parent directory in case of standalone files, but that is not ideal and will not work in case of scalameta/metals-vscode#357

Additional contex

scalameta/metals-vscode#357
scalameta/metals#3079 (reply in thread)

Search terms

empty workspace standalone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant