ClangComplete
ClangComplete copied to clipboard
Make display of error panel optional
Summary: Could you make the display of the error panel optional and default to ON
?
I'm currently working on a project in which I mainly use ClangComplete for its completions, not the errors, as they are somewhat unreliable given that I'm compiling a miniature operating system for a university course.
Ok I can add an option for that. Are you getting unwanted errors in the output?
I am, but this is due to two external things:
- the project I'm working on only compiles with gcc
- I'm cross-compiling this project for another architecture. (e.g. this has an internal type of
pointer
which will throw a lot of warnings on x86-64)
I just don't think that mitigating this is in the scope of ClangComplete - that's why I said I only use it for its completions in this project.
Ok so there is the additional_options
in the settings that can be used to add options just for clang to disable those warnings. Also, I could add an additional filter settings to filter out warnings that can't be disabled.
I got quite a few warnings which I can't disable via a command line flag. How would you filter messages that can't be disabled without the risk of having lots of false positives?