#1042 Analyze Python builtins in a smarter way

Completed
open
5
2014-08-21
2014-01-21
Ram Rachum
No

Currently if you write code like this in Python:

executor.map(whatever)

Scintilla highlights map as a builtin, even though it's used here as a method. Maybe the builtin detection algorithm can check whether the name is following a period, and if so not highlight it?

Discussion

  • Neil Hodgson

    Neil Hodgson - 2014-01-21
    • labels: --> scintilla, lexer, python
    • assigned_to: Neil Hodgson
     
  • Neil Hodgson

    Neil Hodgson - 2014-01-21

    Conversely some people want methods like 'join' in 'list.join' highlighted. So this should be an option, possibly a per-symbol choice.

     
  • Ram Rachum

    Ram Rachum - 2014-01-21

    I'm baffled to hear that people want join in list.join highlighted. I don't see the sense in it. But as long as that's something that can be turned off, I have no problem with it.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks