Open zs-dima opened 1 year ago
@zxh0 interesting that pointint to a parent folder '/../' compile_on_save works well However it does not work for the 'proto_path'
"options": [
"-Iproto=${workspaceFolder}/../proto",
"--proto_path=c:/service/proto",
"--go_out=paths=source_relative:${workspaceFolder}/../internal/gen/proto",
"--go-grpc_out=paths=source_relative:${workspaceFolder}/../internal/gen/proto",
"--grpc-gateway_out=${workspaceFolder}/../internal/gen/proto",
"--grpc-gateway_opt=paths=source_relative"
]
Usage of ${workspaceFolder} leads to ${workspaceFolder}/proto: warning: directory does not exist. Windows 11, VSCode 1.83
Without ${workspaceFolder} compile_on_save works well
With ${workspaceFolder} compile_on_save generated error 'directory does not exist'
"compile_all_path": "${workspaceFolder}/proto" A system error occurred (ENOENT: no such file or directory, scandir '${workspaceFolder}/proto')