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!
Anyone who meet the same problem?
-
- CodeLite Curious
- Posts: 8
- Joined: Thu Sep 05, 2013 9:08 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
-
- 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?
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...
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...
- 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?
This is because by default on Linux codelite is compiled with the native notebook. You need to build your codelite with wxAuiNotebookMafuyu wrote:Tab Colours config can't be saved,but the project icon images config can be saved
To do so, run your cmake with:
-DGTK_USE_AUIBOOK=1
This looks like a bug - please open a bug report for thisMafuyu 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=====
Eran
Make sure you have read the HOW TO POST thread