Skip to content

Support Scala-cli projects #2

@spamegg1

Description

@spamegg1

Scala-cli is about to become the default scala command via SIP 46, so it's going to see a lot more usage. More people will be using "build-tool-less" small single module projects.

At least support the project.scala file with the using directives for dependencies only.

Right now we get:
Screenshot from 2024-06-07 19-23-52

Here's an example project.scala

//> using scala 3.4.2
//> using platform jvm native
//> using nativeVersion 0.5.2
//> using resourceDir ./src/main/resources
//> using test.resourceDir ./test/main/resources
//> using toolkit default
//> using dep org.scala-lang.modules::scala-parallel-collections::1.0.4
//> using dep org.scalafx::scalafx:21.0.0-R32
//> using dep org.creativescala::doodle:0.21.0
//> using dep net.ruippeixotog::scala-scraper:3.1.1
//> using dep io.spray::spray-json:1.3.6
//> using dep org.scala-lang.modules::scala-xml:2.2.0
//> using dep org.xerial:sqlite-jdbc:3.45.2.0
//> using dep com.typesafe.slick::slick:3.5.0
//> using dep org.scala-graph:graph-core_2.13:2.0.1
//> using dep at.logic.gapt:gapt_2.13:2.16.0
//> using dep com.github.cascala:galileo_2.13:0.1.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions