First time here? Check out the FAQ!
1

Auto imports path config

I use auto imports feature a lot, it can search the python library path and import the name. In my project, there are also lots of symbol I want to use, but auto imports can't find them.

Is there a way to let auto imports find the project symbol? Pycharm can find them and import project based module name correctly.

bai's avatar
73
bai
asked 2024-02-04 03:30:52 -0600
Wingware Support's avatar
4k
Wingware Support
updated 2024-02-15 09:39:16 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

You may need add directories to your python path in the Project > Project Properties dialog if module names are missing.

Wing does not include the symbols defined in a module in the auto-importer because including them would significantly increase the number of symbols in the list. An example of a symbol defined in a module is sys.platform which could be imported with a from sys import platform statement. You may want use the + button in the import tool if you want to import a symbol defined in a module.

Wingware Support's avatar
4k
Wingware Support
answered 2024-02-04 05:36:34 -0600
edit flag offensive 0 remove flag delete link

Comments

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