[wingide-users] syntax error highlighting while typing

Charles Hartman charles.hartman at conncoll.edu
Fri Sep 21 17:46:29 MDT 2007


Just want to add that I think that's a very cool idea. I too find  
myself having to "turn off" my awareness of the squiggly red, in the  
midst of trying to figure out what I mean to type.

Charles Hartman


On Sep 21, 2007, at 12:27 PM, Luc Bourhis wrote:

>
> On 21 Sep 2007, at 16:33, Wingware Support wrote:
>
>> Luc Bourhis wrote:
>>> While typing any Python construct, e.g.
>>> if a == 0:
>>> b = 1
>>> if I stop typing to think for a couple of seconds, then Wing  
>>> highlights the syntax error: the code is always incorrect of  
>>> course since it is incomplete. Basically, only after I typed the  
>>> "1" I am spared the syntax error underlining.
>>> I find that wiggly red underlining quite annoying while I am  
>>> typing for it does not tell me anything I don't know.
>>> Would it be possible to highlight the syntax errors in a less  
>>> intrusive manner? Or even to let the user disable that feature  
>>> altogether? Unless I miss something, it is always on, isn't it?
>>
>> You're correct that the feature can't be turned off right now.  We
>> could add a preference, of course.
>
>> One idea is to never show an error until the caret leaves that  
>> logical
>> line.
>
> This is a good idea indeed.
>
>> There's a fairly long delay before we show it when the caret
>> is still in the line, but it sounds like it's not long enough.
>
> Which makes me think that actually the preferences to expose to the  
> user could be akin to the auto-completion:
> - a tick box to enable it
> - a field to specify the delay
>
> You are right that the delay is fairly long but I often think  
> longer than that ;-)
>
> Luc
>
> P.S.: sorry for firing the previous email of mine too quickly (to  
> support at wingware.com)
> _________________________________________________
> Wing IDE users list
> http://wingware.com/lists/wingide



More information about the wingide-users mailing list