You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Metals will start and create the .metals directory, even though this is not a Scala project
With such behavior, when working with non-Scala projects, one needs to keep Metals disabled, since it's going to pollute the project directory with the .metals folder, and reduce the real estate of the files explorer tab by opening irrelevant controls.
Screen.Recording.2023-12-09.at.13.05.32.mov
Expected behavior
If a project is not a Scala project (that is, no sbt, scala or sc files are there), do not start the metals server, do not display metals in the Files Explorer tab, and do not create the .metals directory inside the project.
Operating system
macOS
Editor/Extension
VS Code
Version of Metals
v1.1.0
Extra context or search terms
No response
The text was updated successfully, but these errors were encountered:
(maybe) interestingly, this only happens when the extension tab is visible
That's exactly it. VS Code does it automatically without Metals specifying this condition. There is nothing we can do aside from maybe fixing the behaviour with creating .metals in that case. PReviously raised here scalameta/metals-vscode#1439
Describe the bug
.metals
directory, even though this is not a Scala projectWith such behavior, when working with non-Scala projects, one needs to keep Metals disabled, since it's going to pollute the project directory with the
.metals
folder, and reduce the real estate of the files explorer tab by opening irrelevant controls.Screen.Recording.2023-12-09.at.13.05.32.mov
Expected behavior
If a project is not a Scala project (that is, no sbt, scala or sc files are there), do not start the metals server, do not display metals in the Files Explorer tab, and do not create the
.metals
directory inside the project.Operating system
macOS
Editor/Extension
VS Code
Version of Metals
v1.1.0
Extra context or search terms
No response
The text was updated successfully, but these errors were encountered: