https://kotlinlang.org logo
#compiler
Title
# compiler
j

Johannes Barop

12/04/2023, 7:26 PM
IntelliJ not seeing added methods via FIR extension. I'm adding a method using
FirDeclarationGenerationExtension.generateFunctions()
. I had hoped that so IntellIj would "see" this artificial method without an extra plugin. However, it still marks the use of this added method as an error. Do I have to do anything else to make IntelliJ recognize the generated methods and offer them in auto completion?
y

Youssef Shoaib [MOD]

12/05/2023, 12:13 AM
Intellij can't see those methods for the time being. It should be able to when Kotlin 2.0 comes out and the Kotlin Idea Plugin gets updated to 2.0 (and hence it'd be using FIR and thus able to see FIR declarations.
🙌 1
j

Johannes Barop

12/05/2023, 8:59 AM
🙇
3 Views