Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: BinaryBandit on June 12, 2013, 07:16:09 pm

Title: Horizontal Split view for two different files
Post by: BinaryBandit 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?
Title: Re: Horizontal Split view for two different files
Post by: oBFusCATed on June 12, 2013, 08:22:26 pm
Just drag and drop the tab wherever you like, left, right, bottom, top...
Title: Re: Horizontal Split view for two different files
Post by: BinaryBandit 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?
Title: Re: Horizontal Split view for two different files
Post by: BinaryBandit on June 12, 2013, 08:38:56 pm
aha! Gotcha!