解决方案 settings中添加如下配置项 "protoc": { "options": [ "--proto_path=protos/v3", "--proto_path=protos/v2", "--proto_path=${workspaceFolder}/proto/", ] },