Ask Your Question
1

Not complete Auto-completion

asked 2018-05-04 22:55:00 -0500

Standard user gravatar image

updated 2019-03-13 10:01:45 -0500

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.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2018-05-07 10:43:00 -0500

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

edit flag offensive delete link more

Comments

Thanks, it was a real discovery for me.

Standard user gravatar imageStandard user ( 2018-05-07 11:44:00 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2018-05-04 22:55:00 -0500

Seen: 167 times

Last updated: Mar 07