Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

No completion suggestions when in test files.#598

Answeredbydoolio
doolio asked this question inQ&A
Discussion options

I use asrc layout in my projects and have atests directory at the root of my project. When working in a test file I do not get any completion suggestions related to my package. For example, if I typefrom my_package. I don't get any module name suggested. If I manually type out the full import statement and then later try to access an attribute/method from an imported class I get no suggestions. I have no such problem if in a file under mysrc/my_package directory.

Is there something I have misconfigured or fail to configure to have suggestions in test files? TIA

You must be logged in to vote

It seems if I specify it as follows I get suggestions again.

fromsrc.<my_package>.<my_module>import<thing>

Anyone know if I can avoid this but still maintain thesrc layout?

Replies: 1 comment

Comment options

It seems if I specify it as follows I get suggestions again.

fromsrc.<my_package>.<my_module>import<thing>

Anyone know if I can avoid this but still maintain thesrc layout?

You must be logged in to vote
0 replies
Answer selected bydoolio
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
1 participant
@doolio

[8]ページ先頭

©2009-2025 Movatter.jp