[wingide-users] Why is 'credits' colored in editor
regebro at gmail.com
Mon Feb 13 11:57:00 MST 2012
On Mon, Feb 13, 2012 at 18:28, Wing IDE Support <support at wingware.com> wrote:
> On 2/13/12 10:01 AM, Michael Hipp wrote:
>> On 2012-02-13 8:57 AM, Michael Foord wrote:
>>> On 13/02/2012 13:55, Michael Hipp wrote:
>>>> When I try to name a variable as 'credits', why is it being
>>>> color-coded as if
>>>> it were a built-in function? Is there something I don't know?
>>> $ python
>>> ActivePython 18.104.22.168 (ActiveState Software Inc.) based on
>>> Python 2.7.2 (default, Jun 24 2011, 12:20:15)
>>> [GCC 4.2.1 (Apple Inc. build 5664)] on darwin
>>> Type "help", "copyright", "credits" or "license" for more information.
>>> >>> credits
>>> ActivePython is a Python distribution by ActiveState Software Inc.
>>> Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
>>> for supporting Python development. See www.python.org for more
>> Thanks. I think.
>> Is there any way in Wing to remove it from color coding, since it
>> doesn't actually do anything? It's making my code ugly.
> Michael Foord is correct that 'credits' is a builtin and is highlighted as
> such. We should probably add a way to turn off highlighting of builtins
> such as 'credits' that are rarely used.
It's not so much rarely used, as it is unusable. :-)
More information about the wingide-users