Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Syntax and Semantic errors being on by default

There's another way to look at this. The indexer has trouble, yes, but it
has more success in certain environments than others. It performs much
better with managed build than with Makefile projects, for example, since
scanner discovery is a best effort guess at what the environment is.

So instead of having a blanket enabled/disabled, I'd like to see it based
on the type of project you are creating. Or if we want to get fancy, base
it on the number of errors we are seeing (if too many, turn it off).

IMHO,
:D

On 12-03-13 3:02 AM, "Nathan Ridge" <zeratul976@xxxxxxxxxxx> wrote:

>
>> I would like to hear your opinions on whether or not the errors
>> should be kept enabled by default.
>
>I think they should be kept enabled by default.
>
>I have found that CDT's ability to point out semantic errors as I
>type, rather than having to wait for a compile cycle, gives me a
>tremendous productivity boost. I would imagine the same goes for
>many other developers.
>
>I also think that the accuracy of the indexer has improved
>significantly since the Indigo release as many indexer bugs were
>fixed (notably, bug 197989 [1], but many others as well). While
>numerous indexer bugs remain (in particular, in our codebase bug
>299911 [2] still causes many false positive errors), I think that
>the signal-to-noise ratio of the semantic errors given by CDT is
>quite high now (in the Juno version) - high enough, I think, to
>be useful to most people.
>
>Finally from a developer's point of view: a lot of the
>imperfections in the indexer are still unreported. If users are
>exposed to them, they will be reported sooner, when they are fixed
>the accuracy of the indexer will increase further, which in turn
>motivates more users to report the remaining errors... a positive
>feedback loop!
>
>Regards,
>Nate
>
>[1] https://bugs.eclipse.org/bugs/show_bug.cgi?id=197989
>[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=299911
> 		 	   		  
>_______________________________________________
>cdt-dev mailing list
>cdt-dev@xxxxxxxxxxx
>https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top