Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 CEDET 在 C++ 中编程,我希望自动完成不区分大小写。有没有办法做到这一点?例如,语义将完成:
GL_POI => GL_POINTS
但不是
gl_poi => GL_POINTS
谢谢!
case-fold是要查找的常用短语。
case-fold
M-x apropos-variable RET case-fold RET出现semantic-case-fold变量,所以我会先尝试。
apropos-variable
semantic-case-fold
你会注意到这个变量是自动缓冲区本地的,所以你可能想设置一个默认值,如果你决定要在所有情况下启用它:
(set-default 'semantic-case-fold t)