Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
185 views
in Technique[技术] by (71.8m points)

c++ - 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?

question from:https://stackoverflow.com/questions/65830652/what-tab-completion-is-triggering-the-insertion-of-the-include-statement-for-bit

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...