

The command to select the Python interpreter would not respond at all. Even the modules were installed but VS Code could not find it because it was using the default Python interpreter. I am using pipenv to manage Python dependencies per project and linters such as pylint and tools like black were installed in a Python venv. Weirdly, even regular editor functions did not work such as local changes were not being highlighted.įurthermore, the IDE kept reporting that certain modules were not found. There was no autocomplete of function suggestions and the IDE behaved sluggishly. The problem was that VS Code didn’t work like an IDE for Python anymore. I was beginning to clean up the extensions I didn’t need and resetting the configuration. My assumption was that some of the extensions wouldn’t work properly since this is the new M1 processor (Apple Silicon). Ultimately, I started looking into what extensions were restored and their settings. A restart helped but only for a short while. IDE features would disappear (those given by the Pylance language server) and it would only remain a text editor (a sluggish one at that). VS Code kept on crashing when working on simple Python projects. As it happened, after I ran the scripts, Visual Studio Code was set up with all my extensions along with Python extensions.

I have Visual Studio Code covered in both of these. Additionally, I use a tool called mackup along with DropBox to sync configuration for almost all my applications. It’s more than just dotfiles: it is a script to install all my applications and tools. I recently set up a new laptop for work and was about to get most of the way using my dotfiles.
