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?

1
3 comments

A workaround is to insert this:

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

 and IDEA asks me to process dependency.

1

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

No problem because it isn't necessary.

1

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

android web etc.
Webمنصةشليلة_Developer_Career_Guide_2019



ar
حقوق النشر والملكية الفكرية منصة شليلة
الرياض المملكة العربية السعودية ص.ب.12813 vip@ihdadi.com
الموقع الإلكتروني
https://shliilhpltfrom.blogspot.com/2019/10/blog-post.html?m=1
https://intellij-support.jetbrains.com/hc/en-us/articles/206544839/comments/200744649

0

Please sign in to leave a comment.