Comments (3)
favor BSP, only have Metals download the native CLI, and talk to it through BSP.
This is the right way. BSP is supposed to be the ultimate solution to IDE communication with "build system"; it was designed for that. The IDE should not have to know anything about a build system. Having Metals depend on parts of the CLI as a library defeats the whole purpose. The only reason Metals does something like that for sbt is that sbt has a very long history, and BSP was not always part of sbt. For any new work, we should favor BSP, otherwise we're only piling on more and more complexity on top of what we have.
from scala-cli.
Smooth integration with IntelliJ is also an important requirement IMO. That's why I think using BSP only should be the preferred solution. As soon as we have the Build Server Protocol and Discovery implemented we have support in Metals and IntelliJ.
The question is: what will be the long running BSP server? It could be:
- a JVM "scala-cli" server (no bloop)
- a native "scala-cli" server delegating compilation to Bloop
- Bloop using "scala-cli" internally (native or JVM) to configure itself
from scala-cli.
Closing this issue, Metals support has been there for quite some time now.
from scala-cli.
Related Issues (20)
- Feature initImportREPL: allow initial imports to be automatically available in repl session HOT 3
- Add option to configure user of packaged application via `package --docker` other than `root`
- `compile` hangs when `java.lang.ClassNotFoundException` occurs
- Confusing error when inverting arguments and subcommand HOT 1
- package graal crashes in Windows11 HOT 2
- doc command: all links in Scaladoc are hardcoded with "https://scala-lang.org/api/3.x/" as the site root HOT 1
- LastOnEmptyPath when installing in Alpine HOT 3
- native-image package behaves as expected if source file extension is ".scala", but produces a broken binary if source extension is ".sc" HOT 4
- Release v1.2.0
- Adding CLI option for cross-compiling on Scala Native
- TASTy version warning is perplexing HOT 2
- Sonatype's new central portal user's token is not working in scala-cli HOT 1
- Confusing error message when providing options before command HOT 1
- Cannot always print help from compiler HOT 4
- Incorrect behaviour of `--semantic-db-source-root` flag for scripts
- FreeBSD support? HOT 14
- Scala CLI v1.2.0 mistagged by Windows Defender as a Trojan in `v1.2.0/scala-cli-x86_64-pc-win32.zip` HOT 4
- Release v1.2.1
- jsEsModuleImportMap reported as invalid directive HOT 3
- Scala CLI does not support dependencyModules HOT 2
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 scala-cli.