chillavanilla / TeeworldsEconMod

A python script which communicates with teeworlds server log as input and econ connection as output.
MIT License
3 stars 2 forks source link

vscode python extension: unresolved import warnings #26

Closed ChillerDragon closed 5 years ago

ChillerDragon commented 5 years ago

My setup is currently using this extension: https://github.com/Microsoft/vscode-python And then code . in the root of the repo.

https://github.com/microsoft/python-language-server/blob/master/TROUBLESHOOTING.md#unresolved-import-warnings

Add to your .vscode/settings.json the following line:

{
    "python.autoComplete.extraPaths": ["./src"]
}
ChillerDragon commented 5 years ago

https://github.com/chillavanilla/TeeworldsEconMod/commit/470a0fd90c16ab6dd62e19127aae2d7d6da356a7

solved this.