Author Topic: Horizontal Split view for two different files  (Read 8815 times)

Offline BinaryBandit

  • Single posting newcomer
  • *
  • Posts: 3
Horizontal Split view for two different files
« on: June 12, 2013, 07:16:09 pm »
Hello all,

so when I am programming I have many files open in the work-space. Now if one particular file contains many lines of code I can split it horizontally or vertically so that I can view different parts of the same file that would otherwise be out of view.

The question is, how can I split the work-space so that I can view the code between two different files? For instance I declare functions in an .h file and now must define these in a .cpp file. Instead of having to switch back and forth, it would be more efficient to be able to view the code in both files simultaneously. Is there a way I can do this with code blocks?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Horizontal Split view for two different files
« Reply #1 on: June 12, 2013, 08:22:26 pm »
Just drag and drop the tab wherever you like, left, right, bottom, top...
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline BinaryBandit

  • Single posting newcomer
  • *
  • Posts: 3
Re: Horizontal Split view for two different files
« Reply #2 on: June 12, 2013, 08:37:14 pm »
ok, so I can drag it left and right. But it won't budge for and horizontal movement?

Offline BinaryBandit

  • Single posting newcomer
  • *
  • Posts: 3
Re: Horizontal Split view for two different files
« Reply #3 on: June 12, 2013, 08:38:56 pm »
aha! Gotcha!