Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    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
    nafg
    @nafg
    You can ignore the bubble
    Francois GORET
    @fgoret
    Yes of course. Absolutely not distracting at all.
    nafg
    @nafg
    According to you, it's "sabotaging" to push code to an unstable channel that hasn't been exhaustively tested.
    Francois GORET
    @fgoret
    No... it's sabotaging to push the SAME, SAME <---- I mean the SAME error message every 5 minutes. And I am not kidding... every 5 to 10 minutes, really.
    nafg
    @nafg
    That behavior is controlled by the platform, not the Scala plugin team
    i.e. you're insulting the wrong people
    Francois GORET
    @fgoret
    Insults ? Just say "sabotaging" is an insult ?
    Francois GORET
    @fgoret
    Thanks for the link. It says "to deliberately stop someone from achieving something, or to deliberately prevent a plan or process from being successful" That's exactly what the constant distraction of that bubble is doing. I stand by my words, and really don't see your "insult" point.
    nafg
    @nafg
    It's deliberate? Their intent is to stop you from achieving something?
    Francois GORET
    @fgoret
    Yes it's deliberate... as there's no way to limit or stop it. How difficult would it be to put a throttle of, let's say, 5 error report / 24 hours ? Don't get me wrong: I love IJ, I use the ultimate version for many years, about 4 to 6 hours a day.
    nafg
    @nafg
    Again. Do you think they did it because they want to stop you from achieving something?
    Francois GORET
    @fgoret
    Yes.
    Sorry to ask: are you working for JetBrains ?
    nafg
    @nafg
    No
    Why would they want to stop you from achieving something?
    Francois GORET
    @fgoret
    The constant error message alerts is a known issue for many years, and JB never wanted to address it. They know better... They just assert that the perceived usefulness of a constant stream of (again !) exactly the same error message is more valuable than the inconvenience caused to the user. I said "perceived" because actually they will not look at all those messages, they de-duplicate them. To make my point clear, again, I don't mind to send few error messages, comment on them, log in to my jetbrains account doing so. BUT I do mind to have to endure that every 5 minutes, for no purpose.
    Dmitrii Naumenko
    @unkarjedy

    @fgoret
    Sorry for the inconvenience.
    This specific error messages ("Slow operations are prohibited on EDT") are new and are shown in 2021.2 version.

    actually they will not look at all those messages, they de-duplicate them

    All the reported exceptions will be counted.
    Yes, exact same text will be duplicated but if you report 10 same exceptions all of them will be counted.
    The more reports the more attention the issue recieves.

    Anyway I will redirect this to the platrofm to consider making these specific error messages less flood-ish

    梦境迷离
    @jxnu-liguobin
    Hello everyone, I am writing a macro extension plug-in based on Scala plug-in.
    How can I make intellij idea prompt with this constructor generated by myself? I used SyntheticMembersInjector and so on, but it didn't meet the expectation.
    By the way, there's nothing wrong with other methods, only the this constructor. I wonder if I missed something important? Is there such an example? (my template is def this(……) =this(...)) Thanks.
    3 replies
    Justin Kaeser
    @jastice
    @fgoret these notifications are by default enabled for beta and EAP builds, but if it's getting too much you can disable them. Find the idea.properties file in the config directory (https://www.jetbrains.com/help/idea/tuning-the-ide.html#config-directory) and try setting idea.fatal.error.notification=disabled in there
    Francois GORET
    @fgoret
    @jastice It works! Thanks a lot.
    shvahabi
    @shvahabi:matrix.org
    [m]
    Hello everybody. In Scala 3 package objects are deprecated and hence all kinds of definitions can now be written at the top-level. There may be several source files in a package containing such top-level definitions, and source files can freely mix top-level value, method, and type definitions with classes and objects. However IntellijIDEA CE still doesn't recognize assets imported from such source files into other source files and even in same package (which does not require importing), until the sources are compiled. Is there any way to fix wrong error highlighting due to unidentified imported assets?
    4 replies