jvolkman/intellij-protobuf-editor

warning to a right code.

Closed this issue · 3 comments

import same root dir path proto, warning to a right code.
eg. import "heartbeat.proto"; // service.proto

  • proto
    • service.proto
    • heartbeat.proto

Cannot resolve import 'heartbeat.proto'

Is the proto directory marked as a source root? By default the project source roots are used as protobuf roots. If your files exist elsewhere, you can change the path settings. See the section in the readme.

it’s really helpful. Thank you.