Go back to previous location?

General questions regarding the usage of CodeLite
mahajanudit
CodeLite Curious
Posts: 4
Joined: Thu Apr 18, 2013 4:43 pm
Genuine User: Yes
IDE Question: c++
Contact:

Go back to previous location?

Post by mahajanudit »

I am currently not able to go back to previous location after I go into function definition/declaration or while debugging when I step into the function call.

Is there a shortcut to do this?
Verax
CodeLite Enthusiast
Posts: 46
Joined: Sat Jan 19, 2013 10:31 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Go back to previous location?

Post by Verax »

I believe the default shortcut is Ctrl-P, but you can change it to whatever you want in "Settings"->"Keyboard Shortcuts". You can also access it in the "Search" menu. I'm not sure about debugging, though.
mahajanudit
CodeLite Curious
Posts: 4
Joined: Thu Apr 18, 2013 4:43 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Go back to previous location?

Post by mahajanudit »

It doesn't work the way I want it to work. I have no idea how it chooses the previous location, but if I jump into a function definition/declaration from its call somewhere, I would ideally want the "go to previous location" to take me to that call.
It somehow opens the previous to previous file I think..
mahajanudit
CodeLite Curious
Posts: 4
Joined: Thu Apr 18, 2013 4:43 pm
Genuine User: Yes
IDE Question: c++
Contact:

Re: Go back to previous location?

Post by mahajanudit »

Never mind.. Its working now. I think i needed to refresh cscope cache and now it is working perfectly. Thank you for the help.
Post Reply