Plugin development unable to find PbFile


I need to develop a plugin to edit proto files in my project, and for that, I want to access top-level messages. But when I try to parse the file using PSI I'm unable to resolve these classes.

What should I do to fix this ?

Version Info:

IntelliJ IDEA 2023.2.5 (Ultimate Edition)

Build #IU-232.10227.8, built on November 8, 2023

Runtime version: 17.0.9+7-b1000.46 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.




Hi Sahitya,

You most likely missed adding dependency on the Protocol Buffers plugin. See:


Please sign in to leave a comment.