|
Boost : |
Subject: Re: [boost] Scalpel: a Spirit&Wave-powered C++ source code analysis library
From: Gottlob Frege (gottlobfrege_at_[hidden])
Date: 2010-09-07 23:09:16
On Tue, Sep 7, 2010 at 11:07 PM, Gottlob Frege <gottlobfrege_at_[hidden]> wrote:
>>
>> The right answer often depends on how you're using the parser. As a
>> compiler, Clang stops parsing after a missing #include, because
>> there's rarely any point in continuing the parse. When performing
>> syntax highlighting or code completion, you want results even though
>> the source is never actually going to compile.
>>
>> - Doug
>
> I want my "compiler" "compiling" in the background of my IDE at all
> times, as I type. I want undefined identifiers (or thing that appear
> to be indentifiers) to be colored red (or whatever) until I fix them
> up. etc. As helpful as possible without being annoying (ie no
> dialogs pop up or anything like that).
>
> Once my code will actually pass a compile, I want it to already have. :-)
>
> Tony
>
Or red underline, like a spell checker. And blue underline like MS
Word for "grammar" (syntax) errors. You get the idea. Might as well
do real spell checking (against dictionary and code identifiers) in
the comments as well...
Tony
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk