Bug#25200: codeblock visualisation
joerg at sharky-x.de
joerg at sharky-x.de
Fri May 4 14:42:04 UTC 2001
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)
-
to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop-devel
mailing list