Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Igal Tabachnik
    @hmemcpy
    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
    mcsim
    @mcsim4s
    Hello, everyone. I am new to plugin development so maybe you can help me out.
    I am developing plugin that depends on scala pluging and using "SyntheticMembersInjector" extention to inject some syntetic functions to my macro annoteted object.
    But i want to chage "syntheticNavigationElement" of the injected functions.
    I can't see how i can do it inside my SyntheticMembersInjector implementation. So i am thinking that maybe i can do it later in some other extention that will work after functions injections. But i can't figure out the proper extention point for that.
    Would appritiate any help on that.
    2 replies
    Francois GORET
    @fgoret
    Just downloaded the beta version of IJ. Sad to see that, for the last few weeks, you are sabotaging your product ! Each 5 to 10 minutes, I have an error window like:
    ijerror.png
    The error is most of the time a stupid one like:
    ijerror2.png
    nafg
    @nafg
    If you find bugs too hard to report nicely, maybe don't use a beta
    Francois GORET
    @fgoret
    Sure, but... have to use the beta for Scala 3 !
    nafg
    @nafg
    Then report bugs nicely :)
    Francois GORET
    @fgoret
    And I don't mind to report bug... I do mind to report exactly the same bug, every 5 minutes, without an option to opt-out. I