Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Eric Peters
    @er1c
    or turn off test compiling maybe?
    Roman Janusz
    @ghik
    Hi, what's the best resource to track IntelliJ Scala plugin progress on Scala 3 support?
    1 reply
    Igal Tabachnik
    @hmemcpy
    Is there a way to explicitly mark a specific directory as excluded? In my project there's a web project that contains a generated .caches directory, and I want to mark it as always excluded (so it survives a re-import). Is there a way to do this with IntelliJ somehow? Perhaps, a .ignore file of sorts?
    2 replies
    Swoorup Joshi
    @Swoorup
    Each update excitement of Scala 3 builds up, but … :smile:
    image.png
    Igal Tabachnik
    @hmemcpy
    Good evening! Is there a way to disable automatic refactoring of _ to * (including replacing => with as) during optimize imports, when -Xsource:3 is enabled?
    1 reply
    Unfortunately we're still using an older version of scalafmt and it doesn't like the as in Scala2 sources.
    I'm guessing that's more of a Tobias Kahlert question :)
    Igal Tabachnik
    @hmemcpy
    image.png
    What does Incrementally type do, and whether turning Zinc on help?
    2 replies
    Igal Tabachnik
    @hmemcpy
    Hey, a question to the PSI experts: I have 2 ReferenceExpressions: _.get.foo and _.get. I want to rewrite it to _.foo. Is there a way for me to somehow "subtract" the qualifying reference?
    8 replies
    I mean, I can do something nasty with substrings, but I was hoping that the PSI had a util somewhere
    kyrill
    @cyrillyun

    hey folks, I'm having issues with Scala 3 autocomplete similar to ones @aerua:matrix.org has. Autocomplete kinda "works", but it does not suggest any methods available for classes or objects I am working with. Switching to Scala 2 fixes the issue. I am on Intellij IDE 2021.2 EAP CE with Scala plugin 2021.2.9.

    Also, when I am trying to "go to implementation" of some third-party classes, it fails to perform operation with the message "Cannot perform operation. Too complex, sorry"

    Is it expected behavior or my local configuration has some issues?

    2 replies
    Swoorup Joshi
    @Swoorup
    expected behaviuour
    Swoorup Joshi
    @Swoorup
    It is pretty widely known among previous IntelliJ scasla users, metals is your best bet btw for now.
    Brian P. Holt
    @bpholt

    Does anyone else see a lot of these messages as warnings in their sbt logs when using the IntelliJ Scala plugin?

    [warn] Unrecognized repository Scala Plugin Bundled Repository, ignoring it

    2 replies
    araknafobia
    @araknafobia
    Hi all, Intellij suppose to support HOCON out of the box with Scala plugin right?
    Screenshot 2021-06-17 at 10.43.56.png
    ^ this does not work for me. I uninstalled and installed the scala plugin again but still the same.
    I don't see HOCON in the supported FileTypes as well.
    Screenshot 2021-06-17 at 10.45.56.png
    Jason Zaugg
    @retronym

    Hi, I’m trying to improve SBT’s BSP server to tell IntelliJ about the SBT build itself. I need to debug intellij-scala to figure out a problem, but it has been a while since I’ve done that.

    I’m getting this error importing the SBT project:

    [error] (ThisBuild / updateIntellij) java.io.FileNotFoundException: https://d2s4y8xcwt8bet.cloudfront.net/com/jetbrains/intellij/idea/ideaIC/212.4321-EAP-SNAPSHOT/ideaIC-212.4321-EAP-SNAPSHOT.zip
    `
    11 replies
    August Nagro
    @AugustNagro

    It looks like any .java file in a sbt project is being highlighted with the Scala 3 compiler messages.

    image.png

    1 reply
    zygfryd
    @zygfryd
    Hi, is mixing Scala 2 and Scala 3 not supported yet? I added a src/main/scala-3 directory and 3.0.0 to crossScalaVersions and sbt seems happy, but the plugin treats sources in that directory as Scala 2
    Oh it recognizes Scala 3 if I set the main scalaVersion to 3.0.0, I can work with that
    Igal Tabachnik
    @hmemcpy
    More goodies for -Xsource:3 users of Scala 2.13.6! Backported tuple destructuring in for-comprehensions! No need for bm4 anymore :)
    image.png
    image.png
    image.png
    nafg
    @nafg
    Wow!!
    nafg
    @nafg
    Help, intellij keeps freezing on the splash screen
    nafg
    @nafg
    nm, seems to have been caused by hanging intellij processes
    once I terminated all, it starts
    Oron Port
    @soronpo
    Finally SDK 3.0 supported! Thanks!
    Swoorup Joshi
    @Swoorup
    what is sdk 3.0?
    Oron Port
    @soronpo
    The ability to read and index the scala 3 compiler sources
    Swoorup Joshi
    @Swoorup
    ah i see
    thnks
    nafg
    @nafg
    Why is intellij always indexing classfiles nowadays?
    6 replies
    nafg
    @nafg
    Is there any way to get a keyboard shortcut for add/remove type annotation?
    6 replies
    Vincent Zhao Zhang
    @vincentzz
    Hi, I am using Scala3 with 2021.2 EAP and Nightly Scala Plugin. I am not able to run Scala REPL, due to a ClassNotFound exception on class scala.tools.nsc.MainGenericRunner. I am not sure if anyone has experenced same before. Any workaround available? Or I should raise an issue for this.
    4 replies
    image.png
    Igal Tabachnik
    @hmemcpy
    image.png
    3 replies
    Hmm, similarly, I think the latest nightly broke the bsp-bloop integration :(
    zygfryd
    @zygfryd
    Is it expected that in Scala 3 mode the plugin won't even offer to import java.io.File? (It's a fresh dotty project in the nightly channel, though it's at least a week old)
    1 reply
    Kai
    @neko-kai
    Can't import current idea2.12x branch, getting error:
    [error] (ThisBuild / updateIntellij) java.io.FileNotFoundException: https://d2s4y8xcwt8bet.cloudfront.net/com/jetbrains/intellij/idea/ideaIC/212.4486-EAP-SNAPSHOT/ideaIC-212.4486-EAP-SNAPSHOT.zip
    3 replies
    Guilherme Ceschiatti B. Moreira
    @6qat
    Is there a release date for scala 3 final support on Intellij?
    1 reply
    Dan Di Spaltro
    @dispalt
    Is there a version of this that works with BSP? https://github.com/JetBrains/sbt-ide-settings
    2 replies