找菜单Settings ->Editor->code completion->automatically launch when typed # letters改成2
最新版的code::blocks直接在Settings -> Editor -> General setting中修改Autolaunch after typing # letter就可以了