Improved go to definition and go to declaration behavior You can now more easily read docstrings with indented regions (such as parameter blocks in numpy and pandas docs), nested lists (such as those in argparse) and modules that use epydoc formatting (such as OpenCV). We’re excited to announce huge improvements to the readability and formatting of docstrings in Pylance.
Pylance Extension Updates Improved docstring readability VS Code will then open a new tab with TensorBoard and its lifecycle will be managed by VS Code as well. By default, we will use your current working directory and automatically detect your TensorBoard log files within any subdirectories, but you can also specify your own directory. Afterwards, you will be prompted to select the folder where your TensorBoard log files are located. To start a TensorBoard session, open the command palette (Ctrl/Cmd + Shift + P) and search for the command “Python: Launch TensorBoard”. With TensorBoard directly integrated in VS Code, you can spot check your models’ predictions, view the architecture of your model, analyze you model’s loss and accuracy over time, profile your code to find out where it’s the slowest, and much more! TensorBoard is a data science companion dashboard that helps PyTorch and TensorFlow developers visualize their dataset and model training. We’re excited to launch TensorBoard integration within VS Code. Python Extension Updates TensorBoard Integration If you’re interested, you can check the full list of improvements in our changelog. This release includes TensorBoard integration, and improvements on docstring readability and code navigation with Pylance. You can learn more about Python support in Visual Studio Code in the documentation. If you already have the Python extension installed, you can also get the latest update by restarting Visual Studio Code.
You can download the Python extension from the Marketplace, or install it directly from the extension gallery in Visual Studio Code. We are pleased to announce that the February 2021 release of the Python Extension for Visual Studio Code is now available.