Hi, is there anything available for IntelliJ, so that Arrow Optics elements (the generated lenses for example) are not marked as (red) errors ?
(this is from the 'backend-arrow-example')
s
simon.vergauwen
12/22/2021, 6:13 PM
Actually, I think it’s just missing a Gradle config in the example but I haven’t had time to look into it
simon.vergauwen
12/22/2021, 6:14 PM
You have to include the generated code by KSP into the sourcesets and then I think IDEA highlights it correctly
👌 1
j
Jörg Winter
12/24/2021, 1:55 PM
marking the /generated as source (IDEA project) won't help, I guess you mean marking it with gradle ?
Can anyone provide this snippet as I don't know how to add sourceSet(s) in gradle (kts) ?