-
Notifications
You must be signed in to change notification settings - Fork 4
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
New feature suggestion: PIOCheck #9
Comments
Nice, thanks. I wanted to look into the whole makeprg stuffs for vim-pio anyway. The main issue is that currently vim-pio is using a makefile as well so we'll have to check if we can transfer all the functionality over. |
I recently looked at that for another plugin that I wrote (unfortunately only in Vim9 which is the only I can use). In a nutshell: with Regarding the Finally, to don't pollute the quickfix list with all the rubbish coming from the console, you can filter the output from the standard output with the errorformat option. However, this is a nightmare to setup (at least for me), the best is to copy an existing. However, given that both clang-tidy and cppcheck produce a nice formatted output, it should be possible to re-use an existing errorformat. The easiest to write a compiler plugin (i.e. a plugin that uses such a makeprg thing) is to look at what has been done, with
Type :next to go to the next plugin file, as explained in I know, vim is not the smoothest tool, but I hope that my sharing was a bit helpful. :) EDIT: I like the current setup of using a |
Yet another example where I use the more appropriate Say that you have defined your
|
Thanks, I have used this for homebridge development (javascript plugins running on a server) where the error format is a bit different than standard javascript and thus the default tools wouldn't quite work. I don't quite agree though that calling But especially for windows users where |
Oh ok! I wasn't aware of it, that's interesting! :) |
I want to share a custom command so that I have all the issues found from pio check in the quickfix list.
In this way the user can jump directly to the issue.
It is written in Vim9, but perhaps it can be integrated in the current vim-pio?
The text was updated successfully, but these errors were encountered: