Comments (2)
Going to Output -> Metals does reveal the cause of the issue:
"Metals will not start because you've opened a single file and not a project directory."
This message should not be hidden there !
And furthermore, replacing the "no data provider" message by that message would not completely fix the situation, as the "New Scala Project" button, and the "Help and Feedback" section would still not be present.
Therefore I think instead Metals should run in a simplified mode when outside a folder, just enough to enable users to create a project.
from metals-vscode.
This message should not be hidden there !
We can show the message in a more visible manner and provide information on should the user do as a temporary solution.
Therefore I think instead Metals should run in a simplified mode when outside a folder, just enough to enable users to create a project.
For those we already have issues:
#357
scalameta/metals-feature-requests#231
and there is some in progress work to allow metals to work without a workspace:
scalameta/metals#5531 (unfortunately currently blocked on a semanticdb issue)
from metals-vscode.
Related Issues (20)
- Getting `Failed to connect with build server....` while using devcontainer HOT 4
- vscode metals not updating as download fails with ssl errors HOT 7
- Can't run java 21 via code lens / debug HOT 1
- "Internal error" launch config error message HOT 3
- [VSCode] Metals is generating files on click the extension view, even if I'm not in a Scala project HOT 8
- Fails to download on Windows with output "Error creating cache directory...Caused by: java.nio.file.AccessDeniedException: C:\Program Files\Microsoft VS Code\null" HOT 5
- Use coursier for downloading Java
- metals 1.27 not starting on vscode 1.85.2 on RHEL Linux 7.9 air gapped (https://repo1.maven.org not accessible) HOT 8
- Bug 🐛🐛🐛🐛🐛 cannot debug simple scala program and its not compiled and not genrate .scala-build HOT 7
- Java home not recognised HOT 10
- Sbt bloopInstall HOT 3
- No metals symbol on sidebar, can't start metals. HOT 8
- Fresh worksheet does not work: `java.lang.NoClassDefFoundError: Could not initialize class dotty.tools.dotc.NoCompilationUnit$` HOT 1
- An error report when install metals "Error: Failed to establish a socket connection to proxies" HOT 1
- Metals does not start anymore on Windows in VS Code since the VS Code extension v1.30.0 HOT 47
- Metals 1.30.0 doesn't start anymore on NixOS HOT 2
- Client Metals: connection to server is erroring. Shutting down server. HOT 16
- Missing HTTP proxy settings for Coursier when fetching Metals HOT 9
- Can't start Metals server with JDK with cyrillic characters in the path HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from metals-vscode.