jvolkman / intellij-protobuf-editor

Protocol Buffers for IntelliJ-based IDEs
Apache License 2.0
122 stars 15 forks source link

xxx.proto File not found #43

Closed ShiremanSun closed 3 years ago

ShiremanSun commented 3 years ago

I have set "Import paths" and can navigate image image

but can't build. Errors like that

image

jvolkman commented 3 years ago

This plugin doesn't support running protoc itself. Not sure what you're using to run the compiler, but it's probably not using that import path list.

ShiremanSun commented 3 years ago

This plugin doesn't support running protoc itself. Not sure what you're using to run the compiler, but it's probably not using that import path list.

I'm using Android Studio and run generateDebugProto command. Maybe I'm using incorrect command or the compiler doesn't support. I copy all proto files to my project folder, it works.

jvolkman commented 3 years ago

generateDebugProto looks like it's part of your build system, not this editor plugin.