Does anybody know how to hide specific clang warning messages for C/C++?
Examples of warnings that I do not want to propagate to the frontend, or block in the frontend because are too annoying:
I’ve already tried to hide these messages using all possible clangd flags in a compile_flags.txt but I couldn’t make it work yet.
The reason why I do not remove clangd support is that I still need to navigate to files and get help for existing classes and methods.
You may say:
If pp_file_not_found is raised, just include the “-I/path/to/customLibrary/include” in the compile_flags.txt file
The reason why this is not possible is that I have a single IDE Docker that is used by different students that are coding in another docker that has special libraries.
Each student has different special libraries that are not installed in the Theia IDE docker because otherwise, we would have tons of IDE docker images.
The user’s programs compile fine, but the IDE is always complaining for the reasons already explained, and that is why I would like to know how to intercept those pp_file_not_found, for example, directly in the frontend to manually avoid its propagation.
Does anybody know which file or plugin should I touch on to achieve this?