Bug 25200 - codeblock visualisation
Summary: codeblock visualisation
Status: RESOLVED INTENTIONAL
Alias: None
Product: kdevelop
Classification: Applications
Component: kdevelop 2.x (obsolete) (show other bugs)
Version: 1.4.1
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: KDevelop-Devel List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-05-04 14:48 UTC by Jay
Modified: 2002-09-16 14:43 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jay 2001-05-04 14:42:04 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdevelop
Version:           1.4.1 (using KDE 2.1.2 )
Severity:          wishlist
Installed from:    SuSE
Compiler:          gcc version 2.95.2 19991024 (release)
OS:                Linux 2.4.0 i686
OS/Compiler notes: 

Hey there

I have a wonderful idea for KDevelop I have never seen in any IDE so far: What about highlighting codeblocks with different colors?

if (foo)
{
  // code in here could appear red
  if (foo2)
  {
    // code in here is green 
  }
}

This would help alot in large funtions with lots of branches and things like that. Sure coloring all the code may look ugly but you could also make it optional hitting CTRL-M colors all codeblocks you can look at it and then switch it off again.

Something similar would also be helpful for long statements with lots of braces like
if (((ABS(c) && (foo)) || (SGN(ABS(x+x))) && (bar)).....
You get the point :)
Moving with the cursor along the line should highlight the innermost piece of code that applies. This would make life easier when debugging such statements.

Please let me know if something like this is possible and what you think about it.

Jörg

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 John Firebaugh 2002-09-15 20:44:16 UTC
Embedded editor is now responsible for such things.