User forums > Using Code::Blocks

Horizontal Split view for two different files

(1/1)

BinaryBandit:
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?

oBFusCATed:
Just drag and drop the tab wherever you like, left, right, bottom, top...

BinaryBandit:
ok, so I can drag it left and right. But it won't budge for and horizontal movement?

BinaryBandit:
aha! Gotcha!

Navigation

[0] Message Index

Go to full version