Force processing analyzing depedencies of Ammonite script

I have an Ammonite script.

Sometimes IDEA asks me when opening a script to analyze the dependencies and it works ok, and I can use all: import $file and import $ivy.

I have a script that uses:

    import ammonite.ops._

It is included with Ammonite.

It isn't recognized by IDEA.

How do I force IDEA to process all imports?

Comment actions Permalink

A workaround is to insert this:

import $ivy.`com.lihaoyi::ammonite-ops:1.0.3-34-24e8714`

 and IDEA asks me to process dependency.

Comment actions Permalink

After adding other imports later, this import is automatically removed by IDEA.

No problem because it isn't necessary.

Comment actions Permalink

منصة شليلة
مجموعة منصة شليلة الرياض المملكة العربية السعودية

android web etc.

حقوق النشر والملكية الفكرية منصة شليلة
الرياض المملكة العربية السعودية ص.ب.12813
الموقع الإلكتروني


Please sign in to leave a comment.