Code Monkey home page Code Monkey logo

Comments (3)

sjrd avatar sjrd commented on August 15, 2024

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.

adpi2 avatar adpi2 commented on August 15, 2024

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.

alexarchambault avatar alexarchambault commented on August 15, 2024

Closing this issue, Metals support has been there for quite some time now.

from scala-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.