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

[CLion/C++] Errors and warnings from included files #16

Open
bch29 opened this issue Jul 15, 2020 · 0 comments
Open

[CLion/C++] Errors and warnings from included files #16

bch29 opened this issue Jul 15, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@bch29
Copy link

bch29 commented Jul 15, 2020

In neovim, Comrade adds errors and warnings from included files to the location list. These do not appear in the buffer in CLion. They make navigation between errors quite frustrating, because it pollutes the buffer and location list and :lnext can move me out of the current file. Errors from included files are never something I care about: either they are errors in my code, and I will see them when I build or when I edit the erroneous file; or they are warnings from code that I do not control which I cannot do anything about.

Additionally, the file paths in the errors from included files include control characters, so they are not usable. For example, a location list entry:

^[[0m^[[1mbazel-out/k8-opt/bin/external/<censored>/_virtual_includes/<censored>.H|43 col 16 warning| ^[[0moverridden virtual function is here^[[0m

Is there a way Comrade can filter out errors from external files? Failing that, can the presence of control characters be fixed?

@beeender beeender added the enhancement New feature or request label Nov 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants