News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Suggestion for the compiler log...

Started by rickg22, May 04, 2011, 11:01:04 PM

Previous topic - Next topic

rickg22

Hi guys!

I was thinking of a feature that would seem somewhat useful, but it might require a bit of "hacking" with wxWidgets classes (i.e. making new ones).

A foldable compiler log. We know how in the compiler options we can choose what level of detail we show in the compiler, and I thought of this idea:

What if We could choose "in real time" to see the extended log of a specific log line?

i.e.



"No output" = [+] Click here to expand the compilation log

"Task description" =

[-] Compiler log:
    [+] Compiling "file.cpp"...
    [+] Compiling "another_file.cpp"...


"Full command line" =


[-] Compiler log:
    [-] Compiling "file.cpp"...
         gcc -someoption -anotheroption -cxxflag=blahblahblah -o file.o file.cpp
         [+] Errors detected while compiling this file.
    [+] Compiling "another_file.cpp"...


[-] Compiler log:
    [-] Compiling "file.cpp"...
         gcc -someoption -anotheroption -cxxflag=blahblahblah -o file.o file.cpp
         [-] Errors detected while compiling this file.
              WARNING: On file file.cpp, on line NN... <--- this would have a "hyperlink" to point me to the appropriate file. Something like a merge between the compiler messages and the compiler log.
    [+] Compiling "another_file.cpp"...






Same would go for the build messages... sometimes I have to switch between the build messages and the build log to see the details... but I don't think this is quite feasible...

What do you think? (Oh - also, perhaps the buffer could be copied for pasting only at the shown levels... this would be awesome!)

oBFusCATed

Do you know a widget, which could be used for this kind of feature?
You need a tree that can word wrap long items.

Also it should be fast, so the compile time won't suffer.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

rickg22

Perhaps the compiler log can have two "views"... A simple text one, showing the compilation status, and a complex one that would appear after the compilation has stopped.