Komodo / KomodoEdit

Komodo Edit is a fast and free multi-language code editor. Written in JS, Python, C++ and based on the Mozilla platform.
http://www.komodoide.com/komodo-edit
Other
2.16k stars 303 forks source link

Code completion is not working for some of the python functions #3120

Open mjainQA opened 7 years ago

mjainQA commented 7 years ago

Short Summary

Not getting code completion for some of the functions

Steps to Reproduce

  1. Create a new file Python file
  2. Type the following
    import sys
    sys.__displayhook__
    "This is a string".__add__
    from sys import 

    Expected results

See screenshot of 10.2.3 comparison with 11.0

Actual results

Platform Information

Komodo Edit or IDE? Komodo Version? Operating System (and version)? Komodo IDE, version 11.0.0, build 90667, platform macosx. Built on Fri Sep 15 15:06:46 2017. pystderr_2017-09-18_13:39_Komodo IDE 11.0.0 (Build 90667).txt

Additional Information

image

Naatan commented 7 years ago

This is due to the whitespace exclusion, completions do not trigger on whitespace. You can manually trigger completions here using ctrl+j.

We'll need to make this system a bit more intelligent by allowing whitespace on certain words.

th3coop commented 6 years ago

Why is this an Enhancement and not a regression? @Naatan

Naatan commented 6 years ago

Because it is functionality that does not exist, it's not bugged. I'll add a regression tag though.