ksprojects / protobuf-jetbrains-plugin

Protobuf Support for JetBrains IDEs
https://plugins.jetbrains.com/plugin/8277
Apache License 2.0
259 stars 45 forks source link

Does not work with a stand-alone proto repo #157

Closed bryanhughes closed 3 years ago

bryanhughes commented 3 years ago

Describe the bug We have our proto's in their own repo. Unfortunately your plugin does not understand this.

To Reproduce Steps to reproduce the behavior:

  1. Create a project
  2. Create two subdirectories: rpc and public
  3. Put grpc proto's in rpc and then some public messages in public. Include some public messages in your rpc.

Expected behavior It should resolve the files, or at least give you the option to set the root.

Screenshot

Screen Shot 2021-01-31 at 5 48 17 PM

Plugin (please complete the following information):

jvolkman commented 3 years ago

It looks like you're using https://github.com/jvolkman/intellij-protobuf-editor. You can either mark the directories as source roots or add custom paths in protobuf language settings.