Hello,
I use "Go to previous location" quite often. Is there any way to go then back again from where I started after using this? So assuming I editing at place "n" in code (in one file) and go back 3 times to location "x" (in a different file) using "Go to previous location". Is there any quick way to go back to location "n"?
Moving back and forth in code
-
- CodeLite Veteran
- Posts: 63
- Joined: Mon Apr 06, 2009 10:43 am
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Moving back and forth in code
In the main toolbar, there are 2 blue arrows, one says 'Forward' and second 'backward'
Use them for navigating in the code back and forth
codelite keep tracks of various operations you do (open file, go to definition, find in files, cscope matches etc) and create an internal 'browsing record' and then you can use the 'Back' and 'Forward' to "walk" through them
Eran
Use them for navigating in the code back and forth
codelite keep tracks of various operations you do (open file, go to definition, find in files, cscope matches etc) and create an internal 'browsing record' and then you can use the 'Back' and 'Forward' to "walk" through them
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Veteran
- Posts: 63
- Joined: Mon Apr 06, 2009 10:43 am
- Contact:
Re: Moving back and forth in code
Thanks for this,
by default I don't use any toolbar. Is there something I can assign a keyboard shortcut for moving forward?
And while we are at this topic. There is a feature request for this mouse gestures: http://sourceforge.net/tracker/?func=de ... _id=202033
by default I don't use any toolbar. Is there something I can assign a keyboard shortcut for moving forward?
And while we are at this topic. There is a feature request for this mouse gestures: http://sourceforge.net/tracker/?func=de ... _id=202033
-
- CodeLite Veteran
- Posts: 63
- Joined: Mon Apr 06, 2009 10:43 am
- Contact:
Re: Moving back and forth in code
I found the solution myself:
For "Forward", the keyboard shortcut can be set under "Settings"->"Keyboard shortcuts"->"Search"->"Navigate Forward".
For "Backward", the keyboard shortcut can be set under "Settings"->"Keyboard shortcuts"->"Search"->"Navigate Backward".
For "Forward", the keyboard shortcut can be set under "Settings"->"Keyboard shortcuts"->"Search"->"Navigate Forward".
For "Backward", the keyboard shortcut can be set under "Settings"->"Keyboard shortcuts"->"Search"->"Navigate Backward".
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Moving back and forth in code
Ah! I forgot I added them there as wellDSP_Programmer wrote:I found the solution myself:
For "Forward", the keyboard shortcut can be set under "Settings"->"Keyboard shortcuts"->"Search"->"Navigate Forward".
For "Backward", the keyboard shortcut can be set under "Settings"->"Keyboard shortcuts"->"Search"->"Navigate Backward".
Thanks for reminding me!
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Veteran
- Posts: 63
- Joined: Mon Apr 06, 2009 10:43 am
- Contact:
Re: Moving back and forth in code
Now that we found out this, there is only this mouse gesture issue left for navigating forward and backward
-
- CodeLite Veteran
- Posts: 63
- Joined: Mon Apr 06, 2009 10:43 am
- Contact:
Re: Moving back and forth in code
Don't need mouse gestures any longer. I now use a generic windows tool to map mouse gestures to keyboard shortcuts -> with this I can use mouse gestures for all Codelite features.