by

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
    (copy-pasted from the Build tool window)
    indexing (about 50%)
    Maybe it's because I have compile errors? That might be the whole issue
    I did a git stash and am reimporting
    Justin Kaeser
    @jastice
    maybe? maybe part of the import requires it to compile?
    nafg
    @nafg
    yeah let's see if it works now
    it takes too long :laughing:
    @jastice it's good now!
    nafg
    @nafg
    btw where does mill --bsp fit into things?
    Seems I lost a lot of settings, probably related to EAP upgrade :(
    Justin Kaeser
    @jastice
    mill --bsp is a thing?
    nafg
    @nafg
    mill --help says
    --bsp Run a BSP server against the passed scripts
    I have a suspicion bunch of its options are inherited from ammonite
    It might have to do with the recent support for ammonite scripts in metals
    Just a guess
    @jastice with BSP support can I get a proper Problems view?
    Can I be absolved of having to run continuous compile in a terminal now
    Justin Kaeser
    @jastice
    yes, there's a compile-on-save option in the bsp settings
    yes ammonite already has BSP support built in
    nafg
    @nafg
    @jastice when I do that, or commands from Build menu, I get Internal error
    Justin Kaeser
    @jastice
    well that's no good
    nafg
    @nafg
    That was for build project, for build module I get https://gist.github.com/nafg/8081f485d934f2cda2146b03c2f3dc96
    Justin Kaeser
    @jastice
    apparently mill bsp support is still buggy :/
    nafg
    @nafg
    I mean it looks like a SO in mill code
    Justin Kaeser
    @jastice
    yea
    nafg
    @nafg
    Looks like it or something like it is fixed in mill master
    Justin Kaeser
    @jastice
    that would be neat
    joan has been working a lot on mill-bsp
    nafg
    @nafg
    yeah that's the author
    now I'm getting a different internal error
    btw build.sc is full of red now
    nafg
    @nafg
    Some regular code has a lot of red
    views_common module, in Module Settings > Dependencies, has BSP: views_common dependencies which has a lot of source jars but no binary jars
    Justin Kaeser
    @jastice
    build.sc is not really supported yet
    nafg
    @nafg
    @jastice how about using bloop, how can I try that?
    I already ran mill.contrib.Bloop/install. How do I get intellij to use bloop for bsp
    or should I run that again
    and it will do it
    Justin Kaeser
    @jastice
    if you remove the .bsp directory it should work with bloop
    nafg
    @nafg
    It's tricky because export sbt projects to Bloop before import is only available on a project, so it's useless to disable it for Import Project from Existing Sources
    But I got it to work by canceling import, unchecking, and reopening
    Ok now something more exciting is happening!
    @jastice now how do I get a Problems view, or is there only Build Output
    Justin Kaeser
    @jastice
    just the build toolwindow output
    nafg
    @nafg
    ok thanks
    Justin Kaeser
    @jastice
    ah yeah the pre-import. yes tricky if you have multiple build tools in the same project
    nafg
    @nafg
    simple solution would be to make the setting available as a global default, and/or to default to off
    nafg
    @nafg
    reimporting lost my data sources again!