Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #64859

Re: Highlighting program variables instead of keywords?

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: Highlighting program variables instead of keywords?
Date 2014-01-27 13:38 +0000
References <CANc-5UwcZT18RgLqzHq0oMPA4sxfbfu0ZQhGPJBYZ0KEUJ6m2g@mail.gmail.com> <CANc-5UwkLjmwA5LCAKRGjDZaf5EiHXCfU4_Hm2e9yXsDmApR=g@mail.gmail.com> <CANc-5UxqBJPjk-QYgOL+n1A85xHAicPQHSPfB1fhBg877g0TTQ@mail.gmail.com> <lc4a8n$982$1@ger.gmane.org> <CANc-5UwA-N4-FUivgd3yGsquDcTAa+LWJs5ewoeW8nTgW+LQ9Q@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.6039.1390830006.18130.python-list@python.org> (permalink)

Show all headers | View raw


On 27/01/2014 01:46, Skip Montanaro wrote:
>> What it is doing is color coding user-supplied identifiers, with different
>> color for each one. I found that confusing to read.
>
> I think it would take some time to get used to, and I don't think it
> would be the only way I'd like to view my program.
>
> I think an interactive pylint (or pyflakes or frosty) type capability
> would be useful, highlighting a subset of the messages it produces,
> like variables which were assigned but never used, or using undefined
> variables. It might be best supported by actually running the checker
> in the background, then using its messages to direct where to
> highlight suspect bits of code.
>
> Skip
>

Pydev uses pylint interactively, must have saved me hours by flagging up 
(potential) problems up as I type.

-- 
My fellow Pythonistas, ask not what our language can do for you, ask 
what you can do for our language.

Mark Lawrence

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Highlighting program variables instead of keywords? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-01-27 13:38 +0000

csiph-web