by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Justin Kaeser
    @jastice
    @nafg we might do that but it doesn't feel worth it to mitigate bugs limited to specific sbt versions tbh
    nafg
    @nafg
    @jastice it's not, often I might have some plugin or library dependency that depends on some artifact that for whatever reason doesn't publish a source jar
    Justin Kaeser
    @jastice
    yes, but only specific sbt versions cause this to be an error
    nafg
    @nafg
    I see
    Justin Kaeser
    @jastice
    so if you set project to 1.3.6 and disable automatic sbt upgrading it should work
    nafg
    @nafg
    what is automatic sbt upgrading
    Justin Kaeser
    @jastice
    image.png
    "allow overriding sbt version"
    nafg
    @nafg
    What does that do exactly?
    Justin Kaeser
    @jastice
    it upgrades the project-configured sbt version to use latest known by scala plugin when starting sbt shell
    nafg
    @nafg
    ah
    Maybe you should change the behavior to "forces to use sbt version latest supported by scala plugin" ;)
    So downgrade if necessary to 1.3.6 without requiring me to edit project/build.properties
    OlegYch
    @OlegYch
    or any other piece of software for that matter
    nafg
    @nafg
    ?
    OlegYch
    @OlegYch
    just saying 'override sbt version' should be removed
    Justin Kaeser
    @jastice
    the latest "supported" version is not necessarily known. We assume the latest available version is supported and usually has the least bugs. But every so often there's regressions 🤷‍♂️
    Arnaud Esteve
    @aesteve
    Is it easy to go back to 2019.3... (the current stable) after upgrading to 2020 EAP ? Sorry I wish I could tru dotty support but am a bit afraid of breaking everything
    Pavel Fatin
    @pavelfatin

    Hi! The blog post says:

    You can always select EAP or Release to revert to a more stable build; alternatively, you can download any Scala plugin build from https://plugins.jetbrains.com/plugin/1347-scala/versions.

    So, should be relatively easy. And, in any case, it should be possible to download and install any desired version of the Scala plugin manually.

    Arnaud Esteve
    @aesteve
    Thanks I missed that, my bad
    It's the list of unavailable plugins that frightened me a bit
    Wojtek Pituła
    @Krever
    Jetbrains Toolbox works very well for me. it allows you to install any intellij versions next to each other. So I have EAP as default and stable as backup
    Pavel Fatin
    @pavelfatin
    If you don't yet use the IDEA EAP, you can download and install it separately, so that the experiments won't affect your main IDEA installation at all. The Toolbox is another option, good point.
    Oron Port
    @soronpo
    The toolbox is great
    Arnaud Esteve
    @aesteve
    Ok, I'll try the toolbox then! thanks
    Arnaud Esteve
    @aesteve
    Capture d’écran 2020-03-18 à 11.48.51.png
    I'm probably still doing something wrong => 2020 EAP + nightly Scala plugin
    Pavel Fatin
    @pavelfatin
    @Krever We've included a mention of the Toolbox App in the post. Thanks for the useful tip!
    @aesteve Please try to reload sbt project (via sbt tool window). Also, what's the Scala plugin version (in Settings | Plugins)?
    Arnaud Esteve
    @aesteve
    I already did reload in sbt
    (but I can remove the project, reimport, I'll do that)
    Scala plugin version: 2020.1.870
    Pavel Fatin
    @pavelfatin
    Did you previously open that project in IDEA 2019.3?
    Arnaud Esteve
    @aesteve
    yes :\
    I removed the project, rm -rf .idea, the re-imported it, and re-ran sbt and still the same issue
    I missed something for sure, sorry for the inconvenience
    Pavel Fatin
    @pavelfatin
    Ah... There's a mysterious https://youtrack.jetbrains.com/issue/SCL-17196 Please try to open the Project Settings, Libraries, find "dotty-library..." (with a Scala logo), and tell the Scala version in the combobox.
    The Scala version must be correctly detected as "3" for the corresponding features to be enabled. If the version is not "3.0", please correct it and see whether that helps.
    Arnaud Esteve
    @aesteve
    I was indeed set to 2.12
    Changed it to 3.0 => no effect, Re-ran the sbt import => and it's working fine
    thanks a lot !!
    Some keywords (like opaque) are not highlighted, is there somewhere we can help? :)
    Pavel Fatin
    @pavelfatin
    The work is in progress (right now - we're adding a support for the indents). Feel free to create a ticket for the "opaque" thing in https://youtrack.jetbrains.com/search/Scala-15541 (that may help both us and users to track the progress).
    Arnaud Esteve
    @aesteve
    I guess I'm not allowed to
    Unfortunately, you are not allowed to access the page you've requested. It seems you don't have sufficient permissions.
    Pavel Fatin
    @pavelfatin
    Arnaud Esteve
    @aesteve
    Thx, an umbrella issue for every keyword, or rather a single issue per keyword ?
    Pavel Fatin
    @pavelfatin
    It's probably better to create a separate ticket for each keyword.
    Arnaud Esteve
    @aesteve
    ok, I'll do that, then