Skip to content

Bug - Cannot find .proto file #404

@antspy

Description

@antspy

Hi,

I have the following buf.yaml file:

version: v2
modules:
  - path: .
    includes:
       - src 
lint:
  use:
    - STANDARD

with this config, the Buf extension is really slow (I assume this is related to bufbuild/buf#3847, since the extension uses the cli).

However, after enough time (5 min+), eventually an error is surfaced in the VSCode output logs:
Failure: Module "path: ".", includes: "src"" had no .proto files

which is true, in the sense that there is no .proto file directly underneath src. However, I have several proto files in subdirectories (e.g. src/foo/bar.proto).

I am using the latest version of the Buf extension (0.7.2)

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