jvolkman / intellij-protobuf-editor

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

"Import paths" seem to be broken after the latest GoLand update. #36

Closed andvary closed 4 years ago

andvary commented 4 years ago

GoLand version:

GoLand 2020.2.3
Build #GO-202.7319.61, built on September 16, 2020

Plugin version: 2.1.0

After my IDE has been updated earlier today I started getting "Cannot resolve import XXX" in .proto files, although the directory with respective files is added under Settings - Languages&Frameworks - Protocol Buffers - Import Paths and it worked just fine before.

Would appreciate your assistance resolving this issue. Please let me know if you require any additional information.

jvolkman commented 4 years ago

Hi @andvary - I tried a small test in 2020.2.3 and couldn't reproduce any unexpected issues. Can you maybe post a screenshot of the import paths settings page?

andvary commented 4 years ago

Hi, @jvolkman It turned out to be my own mistake: I somehow messed up directory structure, and the files ended up in the "include" directory instead of "include/google/api". Moving the files to the appropriate directory solved the issue.

Thanks for your prompt reaction and sorry for the trouble.