c++vimlibstdc++youcompletemeclangd

What TAB completion is triggering the insertion of the include statement for bits/stdc++.h? How can I prevent it?


Sometimes, after some hour of coding, in which I've certainly mashed TAB, I find out some file containing #include <bits/stdc++.h> (which I don't want to use), which means that some TAB-completion triggered that.

Since I discover this after a long time coding (typically when qualifying the change) I don't know which completion trigger that. Any idea which could it be? Furthermore, can I kind of "blacklist" it?


Solution

  • I've been lucky today while working near the top of a source file. The header <bits/stdc++.h> gets included when I Tab-complete std::size_t.