Skip to content

v1.0.4: Notebooks & Project .venv

Choose a tag to compare

@github-actions github-actions released this 07 Oct 06:18
· 60 commits to master since this release
d5b6e77

What's Changed

📓 Jupyter notebook support

  • Ctrl+. quick fixes and import diagnostics now work inside .ipynb cells. Notebook cells were never sent to the language server before
  • The extension now activates as soon as a notebook is opened

🐍 Uses your project's .venv automatically

  • When .venv is created or changed, PyPilot makes it the workspace's active interpreter, so it's also the recommended notebook kernel, instead of a global Python without your packages
  • On startup it only steps in when no interpreter inside the workspace is selected, so a deliberate choice is never overridden
  • New setting pypilot.autoSelectVenv (default on) and command PyPilot: Use Project .venv
  • Works with the Python Environments extension or the classic Python extension; does nothing if neither is installed

📦 Install several packages at once

  • With helper v1.0.5, selecting several imports gives one "Install N packages" quick fix, plus "Install all missing packages in this file / notebook"

Full Changelog: v1.0.3...v1.0.4