Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capturing errors? #5

Open
jgarbers opened this issue Jan 28, 2015 · 1 comment
Open

Capturing errors? #5

jgarbers opened this issue Jan 28, 2015 · 1 comment

Comments

@jgarbers
Copy link

Hi! I was delighted to find this plugin, but I'm wondering if it's possible to capture errors generated during the build process and present them in the quick fix window, as I've seen with some other tools. Is that something that would need to be added to this plugin explicitly? Or is there some other feature or plugin I'd need to enable and/or integrate? Thanks!

@jplaut
Copy link
Owner

jplaut commented Jun 6, 2017

In the InvokeArduinoCli function, errors are logged in Vim using the PrintStatus function. If you want to log the errors externally (to a file, for instance), you could change the InvokeArduinoCli function to perform that logging. I didn't want to include that directly in this plugin, but you can feel free to change it as you see fit. If you feel so inclined, you could also create a PR that accepts a config variable to allow for different logging methods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants