代码块中的自动完成 [英] Auto complete in codeblocks

查看:28
本文介绍了代码块中的自动完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次我在 CodeBlocks 中编程时,一开始,自动完成工作正常.经过一些动作和几分钟(我不知道确切原因),自动完成部分工作.

Every time I programming in CodeBlocks, In the beginning, the auto complete work fine. After some action and minutes (I don't know exactly what the reason), the auto complete work partly.

它完成基本变量的名称,但不完成结构等的内部名称.

It complete base variables' names, but it don't complete inner names of structures etc.

什么原因?

在结构的内部名称"中,我的意思是,例如,对于变量 gl.A:

In "inner names of structure" I mean, for example, for the variable gl.A:

typedef struct
{
bool A;

} B;          
B gl;

谢谢,

抱歉我的英语不好...

thank you,

and sorry about my poor english...

推荐答案

Code::Blocks 的代码补全插件 (Code::Completion) 很棒,但有一些错误.例如,如果您使用 C++ 编程,则方法和属性补全有时不起作用.

The Code::Blocks' code completion plugin (Code::Completion) is wonderful, but has some bugs. If you program in C++, for example, methods and attributes completion doesn't work sometimes.

目前在 Code::blocks 的论坛中有一个名为 CodeCompletion Redesign 的部分,开发人员在其中不断改进插件.在您仔细检查您的插件设置是否正确后(插件 > 管理插件或设置 > 编辑器... > 代码::完成和符号浏览器),如果您的问题仍然存在,请尝试访问论坛.

Currently in Code::blocks' forum there's a section named CodeCompletion Redesign where developers continuously improve the plugin. After you double-checked that your plugin's settings are all right (Plugin > Manage Plugins or Setting > Editor... > Code::Completion & Symbol Browser), if your problem still persist, try visiting the forum.

这篇关于代码块中的自动完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆