Author Topic: Multiple views  (Read 15953 times)

Offline javmss

  • Single posting newcomer
  • *
  • Posts: 7
Multiple views
« on: July 23, 2009, 08:15:05 pm »
There is a nice feature found in KDE Kate that I would really love to see in Code::Blocks.

In Kate I can split the code view in any direction (vertical or horizontal) any number of times I want and see on any of those splits any file I want.

I can even see several different parts of the same document and other files at the same time.
It is really very usefull when comparing similar functions or, as I can change the viewed file of any split at any time, understanding what happens inside a function call while inspecting a code piece.

Please take a look at the attached image.
I have one file at left, a second file at right. The upper-right pane shows a piece and the lower-right another piece of the same second file. I can easily show a third file in any of those panes with a single click in files list.

I don't know how it could be implemented in Code::Blocks or if it is a better place to ask for a feature, but I think this feature is so cool that it deserves a request.

Note:

Something not quite different was already discussed in this forum in:

  http://forums.codeblocks.org/index.php/topic,9525.0.html
  http://forums.codeblocks.org/index.php/topic,9255.0.html
  http://forums.codeblocks.org/index.php/topic,5508.0.html

but the concept involved here is very much more flexible and powerfull (yet quite simple) to lead me to a new topic.


Thanks people.
I am not a great expert in CB development, but If I could be of any help, please call me.


[attachment deleted by admin]

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Multiple views
« Reply #1 on: July 23, 2009, 08:24:37 pm »
Since the last nightly build, you can drag the editor tabs and move them to another place inside the editor-pane.
So you can see different files at the same time, the files itself can be split either vertically or horizontally.

Most likely not identically to kate, but of course worth a try.

Offline javmss

  • Single posting newcomer
  • *
  • Posts: 7
Re: Multiple views
« Reply #2 on: July 23, 2009, 09:03:23 pm »
Wonderfull!!!

I upgraded to build 5696 and alleluia!
Take a look at the picture!

Those guys are really fast. They solved my problem one day before I ever tell it...

[attachment deleted by admin]

Offline Alexis

  • Multiple posting newcomer
  • *
  • Posts: 62
Re: Multiple views
« Reply #3 on: July 23, 2009, 10:20:34 pm »
Yes, this new feature is very nice!  :D  :D
Congratulations to the CB team!

Offline geiermeier

  • Multiple posting newcomer
  • *
  • Posts: 19
Re: Multiple views
« Reply #4 on: July 24, 2009, 10:41:31 am »
It is really very usefull when comparing similar functions

When you have to do this, maybe you should think about refactoring your code.

Offline javmss

  • Single posting newcomer
  • *
  • Posts: 7
Re: Multiple views
« Reply #5 on: November 17, 2009, 01:58:14 pm »
Quote
When you have to do this, maybe you should think about refactoring your code.

It is really very good that we always can count with a willing master ready to send us wise and effective advices.