Skip to content

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

@pkpfr

Description

@pkpfr

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions