Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #77457
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!hq-usenetpeers.eweka.nl!hq-usenetpeers.eweka.nl!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <fabiofz@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'syntax': 0.04; 'warnings': 0.04; 'yet.': 0.04; 'affected': 0.07; 'computed': 0.09; 'ide': 0.09; 'undefined': 0.09; 'cc:addr:python-list': 0.11; 'ast': 0.16; 'builders': 0.16; 'c/c++': 0.16; 'cc:name:python list': 0.16; 'eclipse': 0.16; 'etc.),': 0.16; 'fabio': 0.16; 'fly': 0.16; 'imports': 0.16; 'summarize': 0.16; 'timeout': 0.16; 'variables,': 0.16; 'wrote:': 0.18; 'trying': 0.19; 'entered': 0.20; 'cc:addr:python.org': 0.22; 'error': 0.23; 'errors.': 0.24; 'preferences': 0.24; 'subject:Code': 0.24; 'cheers,': 0.24; 'cc:2**0': 0.24; 'developers': 0.25; 'options': 0.25; '>': 0.26; 'header:In-Reply-To:1': 0.27; "doesn't": 0.30; 'errors': 0.30; 'specified': 0.30; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; '(which': 0.31; 'code': 0.31; 'usually': 0.31; 'sep': 0.31; 'option': 0.32; 'text': 0.33; 'checking': 0.33; "can't": 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'really': 0.36; 'done': 0.36; 'doing': 0.36; 'thanks': 0.36; 'should': 0.36; 'skip:4 10': 0.37; 'turn': 0.37; 'checks': 0.38; 'pm,': 0.38; 'does': 0.39; 'even': 0.60; 'new': 0.61; 'save': 0.62; 'real': 0.63; 'such': 0.63; 'places': 0.64; 'different': 0.65; 'finish': 0.65; 'skip:w 40': 0.68; 'analysis': 0.75; 'saw': 0.77 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ikYWdJwVFSF8aYMhkh7sWOltN3KLKPAZNJOKt3UxZYY=; b=lX9ivOa5PUT9r1UM0Ux3rSjNlth6NvJIqBFFq0rYUDY3lxMgGPJjEf8zv2AZiP7il9 YiR1cKLVx6ex6OF/ITNcWIqbfCx1081bHQEDjHmwMMJlNFHPuuXGadmtQL2hoMqCh7iJ a3xP/ZxJR/ulwV4Tvk798Avy+rwhKtKLaFjfYMuhBfEwKmn7DcgO6BDamkNCkF2keuQu ae6tOq1KSlyRwsd7AxKRM1MGdmAUeWYK3kJlcBwwso4FW96dCUPpejEh9kriQkroP+L6 BP+AyUQl4SoOMyEgT1q3X3eqf6PFm8uvcAmf/pIFFZF5LDGRkRqVrxnbdsaDmHYVy3OY dqiQ== |
| X-Received | by 10.53.7.225 with SMTP id df1mr12134987vdd.9.1409704192314; Tue, 02 Sep 2014 17:29:52 -0700 (PDT) |
| MIME-Version | 1.0 |
| In-Reply-To | <67700207-2d66-440b-ba9c-f33757cc9783@googlegroups.com> |
| References | <67700207-2d66-440b-ba9c-f33757cc9783@googlegroups.com> |
| From | Fabio Zadrozny <fabiofz@gmail.com> |
| Date | Tue, 2 Sep 2014 21:29:32 -0300 |
| Subject | Re: PyDev Code Analysis |
| To | Wanderer <wanderer@dialup4less.com> |
| Content-Type | multipart/alternative; boundary=001a1133f7809f181a05021e556f |
| Cc | python list <python-list@python.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.13721.1409704200.18130.python-list@python.org> (permalink) |
| Lines | 114 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1409704200 news.xs4all.nl 2967 [2001:888:2000:d::a6]:57998 |
| X-Complaints-To | abuse@xs4all.nl |
| X-Received-Bytes | 8333 |
| X-Received-Body-CRC | 2177896999 |
| Xref | csiph.com comp.lang.python:77457 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Tue, Sep 2, 2014 at 2:27 PM, Wanderer <wanderer@dialup4less.com> wrote: > > I'm trying to set up Eclipse with PyDev and I can't get the code analysis > to work the way I want. > > Whenever I type 'def' it generates an error before I finish the line. I > don't want to see errors until I finish typing. It's not an error I'm just > not done yet. So I try to turn this off by going to > Window>Preferences>PyDev>Editor>CodeAnalysis and setting the option When do > we analyze? to Only on save. This doesn't stop these errors from showing up > while I'm typing. What it does is stop checking for warnings like 'unused > variable' even on save. If I set the option to 'On any successful parse' > then it will check for these warning only on save. > > To summarize > Setting 'Only on save', turns off warnings but keeps giving real time > errors. > > Setting 'On any successful parse', checks for warnings only on save and > keeps giving real time errors. > > I'm using > Eclipse IDE for C/C++ Developers 4.4.0.21040612 > Pydev for Eclipse 3.7.0.201408261926 > > > What I am I doing wrong? > > Thanks > Well, there are 2 different things there: Code analysis and syntax analysis. Syntax analysis is always done on the fly (and you can't really turn it off -- the places which require an AST will usually use the AST which is computed there and when it's computed and there's a syntax error, that error will be shown). It should usually be computed when a new line is entered, on a save or after you entered some text and the timeout specified at preferences > pydev > builders is elapsed. As for the code analysis (which will check errors and warnings such as unused imports / unresolved imports / undefined variables, etc.), it has the options you saw (which are affected by the only on save/on any successful parse). Cheers, Fabio
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
PyDev Code Analysis Wanderer <wanderer@dialup4less.com> - 2014-09-02 10:27 -0700
Re: PyDev Code Analysis Fabio Zadrozny <fabiofz@gmail.com> - 2014-09-02 21:29 -0300
Re: PyDev Code Analysis Wanderer <wanderer@dialup4less.com> - 2014-09-02 17:37 -0700
csiph-web