KnisterPeter/vscode-commitizen

Better error reporting

Closed this issue · 3 comments

If husky is added into the pipeline to lint on precommit, you may encounter linting errors. Current the only way to see them is if you hover over the error message. Is there a better way in VS code to display these messages to the developer?

image

@KnisterPeter If you have any ideas in mind, I can take a look into it. Perhaps saying, "Commit failed" and append the error message?

I'll think about it. Thanks for reporting.

Currently I use execa to run git in a forked process. This returns the stdout of the process.

It maybe be possible to output the stdout result in a vscode.OutputPanel and open it.
This should be configurable like the task output.