by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    objektwerks
    @objektwerks
    FYI: "de.heikoseeberger" %% "akka-http-upickle" % "1.31.0" is causing Intellij Akka-Http code to code massively red. Dropping back to version 1.30.0 will remove all of the Intellij red errors. I'm using all of the latest versions of Akka, Akka-Http and UPickle. Outside of Intellij, version 1.3.1 works just fine. Not sure what's going.
    Dale Wijnand
    @dwijnand
    Is anyone on the intellij-scala team (or anyoen in general) opening the dotty project in IJ? I'm having trouble with it.
    Pavel Fatin
    @pavelfatin
    We plan to make sure that it works, but we haven't looked into that yet :) What's the problem exactly?
    Dale Wijnand
    @dwijnand
    Actually just got it working, https://github.com/lampepfl/dotty/pull/8586/files fixed it.
    Pavel Fatin
    @pavelfatin
    Wow... Good to know, thanks!
    Justin Kaeser
    @jastice
    @Krever it uses unmanagedSourceDirectories
    Benjamin Nash
    @benash
    Hi, is anyone using the sbt-dotenv plugin? It seems to work correctly when running through the sbt shell for me, but not when running with ctrl+shift+R. (2019.3.4 CE)
    kerr
    @hepin1989
    image.png
    It would be better to create the java folder when first init a project?
    superseacat
    @superseacat
    hey,
    GH Scala Plugin repository describes itself as "scalaCommunity" and has some nice REPL functionality: https://github.com/JetBrains/intellij-scala/tree/b0d3ce8285a7f938ce15e5edc4818a209e8effa8/scala/scala-impl/src/org/jetbrains/plugins/scala/console . Is there a chance, that somewhere out there there are tests exist for REPL console functionality?
    Dmitrii Naumenko
    @unkarjedy
    @superseacat
    No, unfortunately, we do not have any tests for REPL console for now
    superseacat
    @superseacat
    @unkarjedy sad, as I coud spy there some something)
    Dmitrii Naumenko
    @unkarjedy
    @superseacat Did you want to get some hints of how to write tests for console-based systems?
    kerr
    @hepin1989
    image.png
    Better to add a downloadSouces button when try to view the source of sbt
    Mikhail Chugunkov
    @poslegm

    Hello!

    Is it possible to achieve support for testing framework in the IDE without making changes to the Scala plugin? In particular I am interested in this problem - scalameta/munit#48. Maybe plugin has some kind of API that can be implemented on the library side.

    I also looked into the sources of the plugin and found support for scalatest, specs2, utest. What are the selection criteria for this list?

    Ólafur Páll Geirsson
    @olafurpg
    To elaborate. MUnit is implemented as a curto
    custom JUnit runner.
    Testing an entire suite works as expected. It would be nice to be able to run individual tests. The syntax to declare tests is the same as for ScalaTest FunSuite
    the MUnit JUnit runner implements the Filterable interface to select a single test case
    Gábor Bakos
    @aborg0
    Is it a known issue that with sbt shell a CPU core remain active running Console Window Host (even if that sbt shell does nothing, just waits for input)? I tried searching youtrack, but nothing obvious popped up. (2019.3.4, Scala 2.13.1, IDEA Scala 2019.3.26 (Community), JDK 11, no auto-import, not using sbt for building, repro: https://github.com/aborg0/play-quill-jdbc/tree/feature/play_2.8, Windows 10 1909)
    Gábor Bakos
    @aborg0
    Thanks, added my vote. :)
    kerr
    @hepin1989
    Maybe this will be fixed once sbt 1.4 come up with an BSP?
    Oron Port
    @soronpo
    Ever since 2020.x I'm constantly getting compile-server connection issues. I change the port scala.xml, to match what IJ reports, and after some time the port changes and it's broken again
    Now I got to a point that I changed the xml, and it even affect anything.
    Nikolay Tropin
    @niktrop
    @soronpo We need more details. Let's continue in our tracker
    https://youtrack.jetbrains.com/newIssue?project=SCL
    Dmitrii Naumenko
    @unkarjedy
    @soronpo
    Do you use Nightly plugin?
    Do you observe the issue in some project with dotty?
    Do you observe the issue mainly on project opening?
    Do you have any worksheet editors open in your project?
    Oron Port
    @soronpo
    I use the nightly. haven't tried dotty
    No worksheets
    I observe the issue all the time now. Can't get out of it.
    Brian P. Holt
    @bpholt
    Random feature request: autocomplete of the latest version of a dependency in a .sbt file
    Is anyone aware of such a thing?
    Gavin Bisesi
    @Daenyth
    I think there's an sbt plugin that allows you to use 1.^ version strings or so and then have a lock file to pin them, like some other languages do
    might work?
    OlegYch
    @OlegYch
    @bpholt i think it already supports that
    Brian P. Holt
    @bpholt
    🤯
    Idk, I tried it with different combinations of "org.typelevel" %% "cats-effect" % "2.1." to no avail :(
    OlegYch
    @OlegYch
    do you have maven plugin enabled?
    Brian P. Holt
    @bpholt
    hmm, good question
    probably not, I disabled all the plugins I thought I wouldn't need
    Gavin Bisesi
    @Daenyth
    whoa really?
    I also disabled maven, I had no idea I could do that
    OlegYch
    @OlegYch
    after updating indexes it should suggest versions
    although updating indexes doesn't seem to work for me atm
    Brian P. Holt
    @bpholt

    Yeah, after enabling it, I do get versions!

    Although… it only suggests 0.4, 0.10.1, and 2.0.0. Huh. (for cats-effect, I mean)

    It is warning me about a lot of unknown artifacts though, maybe I need to set something else up
    OlegYch
    @OlegYch
    damn my keymap is completely crapped in latest idea eap