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


Groups > comp.lang.python > #64814 > unrolled thread

Re: Highlighting program variables instead of keywords?

Started bySkip Montanaro <skip@pobox.com>
First post2014-01-26 19:46 -0600
Last post2014-01-26 19:46 -0600
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Highlighting program variables instead of keywords? Skip Montanaro <skip@pobox.com> - 2014-01-26 19:46 -0600

#64814 — Re: Highlighting program variables instead of keywords?

FromSkip Montanaro <skip@pobox.com>
Date2014-01-26 19:46 -0600
SubjectRe: Highlighting program variables instead of keywords?
Message-ID<mailman.6013.1390787615.18130.python-list@python.org>
> 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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web