Hello,
Is there a way to go back to the previous file (and preferably with the corresponding editing position). It is handy when you did a find, a "goto declaration", a "goto implementation" or a cscope lookup where you can quickly investigate something, and then go back to the previously opened file to continue coding.
I've grown to get used to that feature, esp from Apple's XCode and QTCreator and also similar to ctrl-T in VIM... I was assuming Ctrl-P did this in codelite but since that operation is part of the "search" category, I guess this only works when searching...
If it's not possible, would this be implementable using a plugin? It's essentially appending the file(name) that was opened in a list and just stepping back in the list (and maybe storing editing positions). The plugin obviously needs to be informed of a new file being loaded/focussed...
CodeLite 8.1, compiled using GCC 4.8, linked with clang 3.6 on CentOS5 (don't ask why...)
-Yves
Go back to last file
-
- CodeLite Curious
- Posts: 7
- Joined: Thu Sep 10, 2015 3:39 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Go back to last file
Use Ctrl+. and Ctrl+/ to move back and forward between different locations
Eran
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 7
- Joined: Thu Sep 10, 2015 3:39 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Go back to last file
Hi Eran,
As for the default shortcuts, Ctrl+/ comments out a whole line and Ctrl+. doesn't seem to do anything ? Is there anything that need to be performed or focussed for this to work ?
-Yves
As for the default shortcuts, Ctrl+/ comments out a whole line and Ctrl+. doesn't seem to do anything ? Is there anything that need to be performed or focussed for this to work ?
-Yves
-
- CodeLite Curious
- Posts: 7
- Joined: Thu Sep 10, 2015 3:39 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Go back to last file
I guess NavMgr is supposed to handle this. I'll figure it out on my side why it doesn't work.
-Yves
-Yves
-
- CodeLite Curious
- Posts: 7
- Joined: Thu Sep 10, 2015 3:39 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Go back to last file
I fixed the issue in my branch:
https://github.com/yvesdm3000/codelite
It might be a compiler issue (hence why you don't see the issue).
-Yves
https://github.com/yvesdm3000/codelite
It might be a compiler issue (hence why you don't see the issue).
-Yves
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Go back to last file
can you send this as a pull requset?
Thanks,
Eran
Thanks,
Eran
Make sure you have read the HOW TO POST thread