Open cdce8p opened 3 weeks ago
Can confirm this doesn't work. In fact, even the old style of writing type aliases (Alias = ...
instead of type Alias = ...
) doesn't work.
{
"python.analysis.typeCheckingMode": "basic",
"python.analysis.autoImportCompletions": true,
"python.analysis.typeEvaluation.deprecateTypingAliases": true
}
@cdce8p includeAliasesFromUserFiles
basically means you want to allow importing objects from modules other than where it was defined. For example, you have a module lib.py
that just imports a ton of classes and functions and you want to be able to import everything from that module. Basically, this is only useful if you want a python file to act like how __init__.py
works.
Environment data
Code Snippet
Repro Steps
lib.py
filetest.py
file and open itmy_func
andMyAlias
Expected behavior
Similar to
my_func
I'd have expected an autocomplete suggestion forMyAlias
.Actual behavior
No suggestion for
MyAlias
.Settings
Not sure what
includeAliasesFromUserFiles
actual does (i.e. which alias symbols are supposed to show up) but changing it doesn't seem to have any effect.