ksprojects/protobuf-jetbrains-plugin

Cannot include /opt/homebrew/opt/protobuf/include as an import path.

pkpfr opened this issue · 0 comments

pkpfr commented

Cannot find or add google proto definitions where protobuf has been added via Homebrew on an M1/M2 Mac. There is no way to add /opt/homebrew/opt/protobuf/include as an import path.

Steps to reproduce the behavior:

  1. Install protobuf via Homebrew on an M1/M2 Mac.
  2. Note that imported google proto files are not found.
  3. Try to add the location of these files /opt/homebrew/opt/protobuf/include or /opt/homebrew/include as an import path.
  4. Path is highlighted red, with an explanation mark icon. Files are not imported.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Plugin (please complete the following information):

  • OS: MacOS 12.5, MacBook Air 2022 (M2)
  • Plugin version: 3.88
  • IDE: Goland 2022.2..1

Note, Goland has been granted full disk access, but issue remains.