Not complete Auto-completion


209
views
0
4 months ago by
Good day,
I have noticed, Wing's Auto-completion doesn't always work on nested objects. Not too sure how to explain it, I'll try with screenshots. For example, in Visual Studio Code, if I type:
requests.get().​
it shows autocompleter:


but Wing doesn't:


Is there anything to do about it? Thanks.

1 Answer


2
4 months ago by
Wing's autocompleter works by analyzing your code and inferring the types of variables.  In this case, it cannot infer the type of the return value of requests.get().  We plan to improve Wing's code analysis capabilities in future releases but for now there are a number of ways to help the autocompleter that are discussed at https://wingware.com/doc/edit/helping-wing-analyze-code
Thanks, it was a real discovery for me.
written 4 months ago by Standard user 
Please login to add an answer/comment or follow this question.

Similar posts:
Search »