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
