

You can now add tags and parameterize notebook cells directly in the notebook editor without opening the json format of the document – a feature provided in the Jupyter extension.


This makes it easy to collapse sections of your code so you can navigate your Python file without extensive scrolling. If you have any issues or feature requests, you can file them in the autopep8 extension’s GitHub repository.Īll “cells” within a Python file denoted with # %% markers can now be folded in the editor. You can now give the autopep8 extension a try by downloading it from the marketplace. Since it ships with the latest version of autopep8, it is not required to be installed in a Python environment. We are continuing to add to our growing extension library with a new autopep8 extension now in preview! As with our pylint, black, isort, and flake8 extensions, the autopep8 extension uses the Language Server Protocol to provide formatting support. Look for these new settings in the VS Code settings panel: Within each of these settings, you can specify paths of directories or files that should be included, excluded, or ignored for Pylance diagnostic output. Pylance has added an enhancement that allows users to include, exclude, and ignore paths via VS Code settings. Include, exclude, and ignore paths can now be provided for Pylance We hope this new feature streamlines the environment creation process and encourages the utilization of environments for coding best practices. The command will also install necessary packages outlined in a requirements/dependencies file, such as requirements.txt, pyproject.toml or environment.yml, located in the project folder. You can trigger the command through the Command Palette ( Ctrl + Shift + P or ⌘ + ⇧ + P), select whether you want to create a new virtual environment with venv or a Conda environment, and, finally, select the desired interpreter for your project. Simplified project setup with new Create Environment commandĪ new Create Environment command has been added that automatically creates a virtual environment or Conda environment for your Python workspace.

If you’re interested, you can check the full list of improvements in our changelogs for the Python, Jupyter and Pylance extensions.
