IDEA indexing #112
Unanswered
Adam-Vandervorst
asked this question in
Q&A
Replies: 5 comments 8 replies
-
This is with scala3, right? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Why not? I personally am waiting for IntellijJ to sort out their issues,
but Laminar has supported Scala 3 natively for months now.
|
Beta Was this translation helpful? Give feedback.
3 replies
-
Any IntelliJ issues you run into with Scala 3 will surface easily with
other Scala.js libraries too, or if not the same exact issue, then
something else will pop up. At least that's been my experience.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Well, that's to be expected, you should import all that stuff either from
`api` or from `api.L` as mentioned in the docs, not from `api.Laminar` –
that object is private on purpose.
You should look at errors given to you by the real Scala compiler, not by
IntelliJ. Normally that wouldn't be an issue but since their Scala 3
support is not complete you have to account for that.
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Btw try the new IntelliJ 2021.3 version, among the fixes in their changelog:
In addition, the TASTy reader can now parse package objects
Seems relevant.
…--Nikita
On Wed., Dec. 1, 2021, 3:38 a.m. Adam V, ***@***.***> wrote:
That makes sense, just reporting it does have some insights into the types
that way, over the api and api.L.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#112 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAECBMBDM4GTMFTWYQVHMJTUOYCMNANCNFSM5JCHVXRA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
IDEA does not give me code insights into Laminar.
My setup:
IDEA: 2021.2.3
Scala: 3.1.2-RC1-bin-20211124-1f48de1-NIGHTLY
SBT: 1.5.5
Dependencies: just
"com.raquo" %%% "laminar" % "0.13.1"
Details:
import com.raquo.laminar.api.L.{*, given}
does work with fastLinkJS, but gives no insights beyond the
api
level.import com.raquo.laminar.nodes.RootNode
does give me insights from a
.tasty
file.I'd say sources of some sort are missing, or something is not loading.
Would love to try out Laminar and insights helps exploring the functions and signatures.
Beta Was this translation helpful? Give feedback.
All reactions