简体   繁体   English

什么 TAB 完成触发了 bits/stdc++.h 的 include 语句的插入? 我该如何预防?

[英]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.有时,经过几个小时的编码,我当然已经捣碎了TAB ,我发现一些包含#include <bits/stdc++.h>的文件(我不想使用),这意味着一些 TAB 完成触发了那个。

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?再者,我能不能种“黑名单”呢?

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 .当我Tab -complete std::size_t时, header <bits/stdc++.h>被包含在内。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 为什么我不应该#include<bits stdc++.h> ?</bits> - Why should I not #include <bits/stdc++.h>? #include 的含义<bits stdc++.h>在 C++</bits> - Meaning of #include<bits/stdc++.h> in C++ 为什么#include<bits stdc++.h> 默认情况下在 windows 上不起作用?</bits> - Why #include<bits/stdc++.h> does not work by default on windows? 为什么有一个“.h”扩展名<bits stdc++.h> ?</bits> - Why is there a “.h” extension in <bits/stdc++.h>? 为什么我在使用“using namespace std;”时会在此代码中出现错误和“位/stdc++.h”? - Why do I get an error in this code when using “using namespace std;” and “bits/stdc++.h”? 如何预编译<bits stdc++.h> ubuntu 20.04 / 22.04 中的 header 文件?</bits> - How to Precompile <bits/stdc++.h> header file in ubuntu 20.04 / 22.04? 我怎样才能包括<bits stdc++>在 Xcode</bits> - How can I include <bits/stdc++> in Xcode 错误:<bits stdc++.h> , 'cstdalign' 文件未找到,正在运行 C++17</bits> - ERROR: <bits/stdc++.h>, 'cstdalign' file not found, running C++17 如何防止调试器进入 Codelite 中的“@file ext/new_allocator.h”和“@file bits/vector.tcc”等 header 文件? - How can I prevent debugger from stepping into header files like “@file ext/new_allocator.h ” and “@file bits/vector.tcc” in codelite? 我如何在QMake中包含python.h - how can i include python.h in QMake
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM