[wingide-users] Why is 'credits' colored in editor
Wing IDE Support
support at wingware.com
Mon Feb 13 10:28:24 MST 2012
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 22.214.171.124 (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.
More information about the wingide-users