First time here? Check out the FAQ!
1

Not complete Auto-completion

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.

Standard user's avatar
46
Standard user
asked 2018-05-04 22:55:00 -0500
Wingware Support's avatar
4k
Wingware Support
updated 2019-03-13 10:01:45 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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

Wingware Support's avatar
4k
Wingware Support
answered 2018-05-07 10:43:00 -0500
edit flag offensive 0 remove flag delete link

Comments

Thanks, it was a real discovery for me.

Standard user's avatar Standard user (2018-05-07 11:44:00 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer