powerful-florist-180707/29/2021, 11:53 PM
busy-vase-3920207/30/2021, 12:03 AM
powerful-florist-180707/30/2021, 12:23 AM
fresh-cat-9082707/30/2021, 9:29 AM
in the current workspace folder. For your convenience, this file can be part of the repository so that VSCode can understand where to look for sources when working in a monorepo consisting of multiple Python projects. It adjusts the
(https://code.visualstudio.com/docs/python/environments#_use-of-the-pythonpath-variable) variable adding all projects in the monorepo. Having this file makes it possible to jump to definition in the source code across multiple projects. It also makes the cross-projects refactoring possible.
in the application settings to point to the virtual environment created earlier (https://www.pantsbuild.org/docs/setting-up-an-ide#third-party-dependencies). The Python interpreter in the virtual environment you’ve specified will be used to run all Python applications in the VSCode workspace.
executable in the virtual environment created earlier. See Configure a virtual environment to learn more.
• Mark all directories within the project as
(can be done in batch by selecting multiple directories). Doing this will let you jump to definition in the source code and will make the cross-projects refactoring possible.
powerful-florist-180707/30/2021, 3:30 PM