[Github-comments] [geany/geany] Autocompletion is misleading in some circumstances for Python (#1306)

programmin1 notifications at xxxxx
Sun Nov 20 04:49:28 UTC 2016


I know Python is a dynamic language as is JS, this doesn't excuse this bug and it shouldn't autocomplete functions that are not in the standard library.

window.location would be a good autocomplete suggestion, but window.document.body.location is undefined unless you set that variable to be something, therefore window.document.body.location would not be a good autocomplete suggestion.

Microsoft Visual Studio Code, for example, will give the correct autocompletion in both of these example circumstances, and not give a bad autocomplete suggestion.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/1306#issuecomment-261758909
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20161120/347b220d/attachment.html>


More information about the Github-comments mailing list