by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Paolo G. Giarrusso
    @Blaisorblade
    any plan to use the real presentation compiler, either directly or through Dotty’s future version of Metals?
    Justin Kaeser
    @jastice
    @Blaisorblade for compiler messages we don't use presentation compiler for Dotty, but the actual Scala compiler (or BSP server in such BSP projects)
    Nikolay Tropin
    @niktrop
    @arteme For now, the only option is to reimplement these errors in Scala plugin. For example, you may write a custom inspection: https://github.com/JetBrains/intellij-scala/wiki/Library-Extensions
    @politrons Compilation should work after sbt project import. If you opened your project in IDEA 2019.3 or before, you may need to remove .idea folder first.
    Wojtek Pituła
    @Krever

    Hey, I configured sbt with

    sourceDirectories := Seq(file("."))

    (I'm trying to have minimal dir structure/project size)
    yet its not recognized by intellij after import - root is not marked as source root

    Dmitrii Naumenko
    @unkarjedy
    @Krever Could you please create a ticket about Ammonite?
    Wojtek Pituła
    @Krever
    I will try but I already removed my project
    Tomasz Pasternak
    @tpasternak
    how to find out which commit was used for nightly build?
    Pavel Fatin
    @pavelfatin

    @politrons

    But code it does not compile in the IDE any idea how to make it compile to being able to play a little bit with

    If this means that there are errors in editor, please see https://gitter.im/JetBrains/intellij-scala?at=5e72001db00d7a3a2cc571e2

    NB: to try Scala 3, please use Nightly builds, not EAP builds
    kerr
    @hepin1989
    image.png
    Stop a long time when try to add type annotation to akka project
    After long time UI freeze, it's indexing now
    Nikolay Tropin
    @niktrop
    @hepin1989 Please report such problems to https://youtrack.jetbrains.com/newIssue?SCL
    Nikolay Tropin
    @niktrop
    @tpasternak We don't add git tags for nightly builds, usually it is the last build of idea201.x branch available on 12:00 AM GMT.
    kerr
    @hepin1989
    @niktrop okay
    vinhhv
    @vinhhv
    hi all, im having trouble getting intellij to recognize code generated by macros. im running intellij 2019.3.4, sbt 1.3.8 and scala 2.13.1 (which comes with scala-macros-paradise). any ideas what i could do fix this?
    Wojtek Pituła
    @Krever
    I think intellij is not using neither sourceDirectory nor sourceDirectories sbt settings when importing modules. Is it a known limitation or a bug?
    Effect: patch configures under those settings in build.sbt are not marked as sources roots in intellij project structure.
    superseacat
    @superseacat
    is it a vary bad practice to post here links to JB's forum (but the description is rather long there): https://intellij-support.jetbrains.com/hc/en-us/community/posts/360007731119-Issues-configuring-a-dependency-for-a-3-rd-party-plugin-Scala- ?
    Nikolay Tropin
    @niktrop
    @superseacat It's ok, if your question is related to scala plugin. It seems that you've already got a response there.
    superseacat
    @superseacat
    @niktrop thanks!
    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