Author Topic: Ability to open same file in multiple tabs?  (Read 4626 times)

Offline Story

  • Single posting newcomer
  • *
  • Posts: 9
Ability to open same file in multiple tabs?
« on: July 14, 2011, 03:39:39 pm »
I love the goto definition/implementation feature. It's really helpful when you're trying to understand some code. If you see a function or struct or whatever you can just jump to it (assuming the parser isn't confused by rampant macro abuse) and see what it does.

The problem is that there is no way to go back to the code you were looking at before. This is really annoying. One solution would be to allow the same file to be open in multiple tabs at once. That way, the goto definition/implementation thing can just open in a new tab. Then when you want to go back, just switch to the previous tab.

Anyway, is there anyway to do something like this? I am not familiar with all of the features in Code::Blocks, but it would be very helpful.

Offline ouch

  • Almost regular
  • **
  • Posts: 223
Re: Ability to open same file in multiple tabs?
« Reply #1 on: July 14, 2011, 05:16:20 pm »
you can split the view in two. that's pretty much like opening it twice.

Offline Freem

  • Almost regular
  • **
  • Posts: 219
Re: Ability to open same file in multiple tabs?
« Reply #2 on: July 18, 2011, 10:28:46 am »
There is a plugin that allow to mark positions and navigate between them.
http://wiki.codeblocks.org/index.php?title=BrowseTracker_plugin

You can also duplicate a file with a right-clic on it's "title" if I remember, but I don't use this feature so maybe I'm wrong.