Should I get a highlight in my editor when i have a syntax error?

Dec 19, 2012 at 3:40 PM

Like if im trying to use an undefined function?

or addressing an undefined variavble? 

because i dont.. excuse me if im asking something which has already been asked, but i search the discussion board and google it but didnt find anything.. 

Thanks!

Coordinator
Dec 19, 2012 at 4:58 PM

No, we don't detect and report those (yet...), but we do have it on our issue tracker: http://pytools.codeplex.com/workitem/1 (Yes, it's issue number 1... this request has been around for a while)

Right now, you'll get parser errors (and whitespace warnings if you've enabled those), but we are looking into reporting more errors.

On that note, if you have (or anyone else has) more suggestions of the types of errors/warnings you'd like to receive while working, post them on the bug I linked above.

Dec 23, 2012 at 4:31 PM

Thanks :)

Feb 23, 2013 at 8:24 PM
Hi!

It seems like that issue has been removed from tracker (http://pytools.codeplex.com/workitem/1 is reporting an error referencing to "#7d7f499c-ff20-4b7f-affc-23397c2df55d").
Meanwhile such errors/typos like using an undefined function or addressing an undefined variavble still don't get highlighted...

Sergey
Coordinator
Feb 25, 2013 at 5:33 PM
That's something wrong with CodePlex - we certainly haven't removed the issue and are still seriously looking at it.

We also haven't put out any new versions since the last time I mentioned this, so it's unlikely to have started working. Python is a notoriously difficult language to statically analyse, since so much of the environment can change at runtime (for example, a variable that looks undefined can easily be defined by other code).