Closed irm-codebase closed 8 months ago
Not sure what problem you're trying to solve here. If you follow the development install instructions and then link the mamba env to Python: Select Interpreter
in VSCode, you get autocomplete. Example:
This is quite odd... I swear it was not working before. It may be related to some issues that VSCode has been having with miniforge (https://github.com/microsoft/vscode-python/issues/22918), sometimes it refuses to activate the environment even after specifying it.
I'll close the pull request.
Interesting. I have this duplication issue but then I don't use the inbuilt vscode debugger so haven't had to deal with its ability to keep track of the environment correctly when debugging...
What do you use as a debugger instead? This issue is completely breaking debug functionalities on my end, and I cannot test some things on the toy model :(
Added an
.env
file pointingPYTHONPATH
to./src
so that VSCode can perform autocomplete functions for our code.Small quality of life stuff.