General questions regarding the usage of CodeLite
sergioK
CodeLite Curious
Posts: 5 Joined: Wed Apr 18, 2012 11:47 pm
Genuine User: Yes
IDE Question: C++
Contact:
Post
by sergioK » Fri Apr 20, 2012 9:46 pm
Hi ,
This code is clear it works and compile well
This option work nowhere
Code: Select all
while(1){
usleep(1000*100*5);
printf("parent id %d\n", getpid());
//break;
}
other example
Code: Select all
printf("POSIX Signal: %d\n", signum );
signal(signum, SIG_DFL);
all include exists
I am in 3.5.5460 and Ubuntu 10.
I looked in tags options -> clang but no idea what to do ,
Need help
eranif
CodeLite Plugin
Posts: 6375 Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:
Post
by eranif » Sat Apr 21, 2012 1:43 am
Hi Sergio,
Please paste here the content of the following:
Settings -> Global Editor Preferences -> ctags -> Include Paths
Also:
Can you explain exactly what is not working for you? ( I am assuming that your code completion is not working... )
FYI: to trigger code completion you need to hit Ctrl+SPACE
Eran
sergioK
CodeLite Curious
Posts: 5 Joined: Wed Apr 18, 2012 11:47 pm
Genuine User: Yes
IDE Question: C++
Contact:
Post
by sergioK » Sat Apr 21, 2012 10:34 am
Hi Eran,
No idea , it start working after adding #include statement , and work even I delete it again.
but in this case
Code: Select all
void posix_death_signal(int signum) {
printf("POSIX Signal: %d\n", signum );
signal(signum, SIG_DFL);
exit(3);
}
I press on signum variable and I expect to move cursor on signature declaration but it's doesn't occurs .
eranif
CodeLite Plugin
Posts: 6375 Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:
Post
by eranif » Sun Apr 22, 2012 10:05 am
sergioK wrote: No idea , it start working after adding #include statement ,
Yes, codelite does scan all the files found under the 'Include Files' paths of ctags, it will only scan file included by your project
sergioK wrote: I press on signum variable and I expect to move cursor on signature declaration but it's doesn't occurs .
Indeed, this is a bug -> codelite does handle variables declared inside a function signature properly (when it comes to 'go to declaration' and refactoring)
Eran