ClangComplete icon indicating copy to clipboard operation
ClangComplete copied to clipboard

Make display of error panel optional

Open GhostLyrics opened this issue 9 years ago • 4 comments

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.

GhostLyrics avatar Apr 18 '15 08:04 GhostLyrics

Ok I can add an option for that. Are you getting unwanted errors in the output?

pfultz2 avatar Apr 18 '15 12:04 pfultz2

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.

GhostLyrics avatar Apr 20 '15 12:04 GhostLyrics

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.

pfultz2 avatar Apr 20 '15 13:04 pfultz2

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?

GhostLyrics avatar May 03 '15 14:05 GhostLyrics