If protos in a dot folder (ie: .protos/) are added as an import path, they are not resolved in the editor. Things such as "Jump to Definition" and assisted imports do not work.
This can be replicated with the two following test files:
// In file `$PROJECT_ROOT/.protos/my_protos/test.proto`
syntax = "proto3";
package my_protos;
message Test {
int64 id = 1;
}
// In file $PROJECT_ROOT/project_protos/types/my_type.proto
syntax = "proto3";
import "my_protos/test.proto";
package types;
message MyType {
my_protos.Test Test = 1;
}
If protos in a dot folder (ie:
.protos/
) are added as an import path, they are not resolved in the editor. Things such as "Jump to Definition" and assisted imports do not work.This can be replicated with the two following test files:
Here are screenshots of the settings/UI:
This does seem to work on the JetBrains Protocol Buffers Plugin but would like to keep using this one!