Anyone who meet the same problem?

CodeLite installation/troubleshooting forum
Mafuyu
CodeLite Curious
Posts: 8
Joined: Thu Sep 05, 2013 9:08 am
Genuine User: Yes
IDE Question: C++
Contact:

Anyone who meet the same problem?

Post by Mafuyu »

In Tags Options->Triggering,Minimum number of chars to type to show wordcompletion-box must be set to a number bigger than 3.
http://imagebin.org/287137
For example,it is set to 3:
http://imagebin.org/287135
The printf funtcion is not appeared.
If it is set to 2:
http://imagebin.org/287136
The two keywords are not appeared..
Can anybody give a tip,thanks!
Mafuyu
CodeLite Curious
Posts: 8
Joined: Thu Sep 05, 2013 9:08 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Anyone who meet the same problem?

Post by Mafuyu »

By the way ,in the Tweaks plugin ,Tab Colours config can't be saved,but the project icon images config can be saved.
The CppCheck can't use in Archlinux,if I run it,codelite will crash.In winXP,I do a test:
#include <stdio.h>
#include <stdlib.h>

int main()
{
char array[10];
char *p;
array[10] = 1;
p = malloc (sizeof array);
}

Starting cppcheck: "E:\Program Files\CodeLite\codelite_cppcheck.exe" --enable=style --enable=performance --enable=portability --enable=unusedFunction --enable=missingInclude --enable=information --std=posix --std=c99 --std=c++11 --force --template gcc --file-list="D:\Project\My_workspace\.codelite\cppcheck.list"
Checking D:\Project\My_workspace\test\main.c...
D:\Project\My_workspace\test\main.c:7: style: Variable 'p' is allocated memory that is never used
D:\Project\My_workspace\test\main.c:8: error: Array 'array[10]' index 10 out of bounds
D:\Project\My_workspace\test\main.c:10: error: Memory leak: p
Checking usage of global functions..
===== cppcheck analysis ended. Found 0 possible errors=====
It says 0 possible errors...
User avatar
eranif
CodeLite Plugin
Posts: 6375
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Anyone who meet the same problem?

Post by eranif »

Mafuyu wrote:Tab Colours config can't be saved,but the project icon images config can be saved
This is because by default on Linux codelite is compiled with the native notebook. You need to build your codelite with wxAuiNotebook

To do so, run your cmake with:
-DGTK_USE_AUIBOOK=1
Mafuyu wrote:Starting cppcheck: "E:\Program Files\CodeLite\codelite_cppcheck.exe" --enable=style --enable=performance --enable=portability --enable=unusedFunction --enable=missingInclude --enable=information --std=posix --std=c99 --std=c++11 --force --template gcc --file-list="D:\Project\My_workspace\.codelite\cppcheck.list"
Checking D:\Project\My_workspace\test\main.c...
D:\Project\My_workspace\test\main.c:7: style: Variable 'p' is allocated memory that is never used
D:\Project\My_workspace\test\main.c:8: error: Array 'array[10]' index 10 out of bounds
D:\Project\My_workspace\test\main.c:10: error: Memory leak: p
Checking usage of global functions..
===== cppcheck analysis ended. Found 0 possible errors=====
This looks like a bug - please open a bug report for this

Eran
Make sure you have read the HOW TO POST thread
Post Reply