c++ - 如何像 InteliJ 一样自动插入标题并在 CLion 中使用?
问题描述
如果我已经在主 CMakeLists.txt 文件中指定了包含文件夹,IDE 是否应该很容易搜索符号或者我错过了什么?
例如,我在命名空间 Anggur 下有类 Lexer;
它应该自动插入
#include <Anggur/Lexer.h>
using Anggur::Lexer;
int main() {
Lexer|
}
解决方案
推荐阅读
- mit-scratch - Set X() 和 Set Y() 块在 Scratch 中不起作用
- angularjs - NgMask 强制自定义模式
- java - 如何在地址为 46.XXX.XX.XX:8008/ 的页面中下载 java 小程序类文件
- python - 用于多标签分类问题的 tf-idf 矢量化器
- avr - 使用单独的时序控制多个 PWM
- reactjs - 有没有办法在地图上的反应传单中显示下拉菜单
- swift - Firebase 和 Swift 限制帖子编号错误
- c++ - constexpr 结构成员初始化
- javascript - 如何修复将内容覆盖到其一侧的 Bootstrap 下拉菜单?
- c - 在 Linux 的特定 CPU 上运行进程?(不能用命令行指定)