Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Python AST PreviewNew to Visual Studio Code? Get it now.

Python AST Preview

azeemba

|
11,481 installs
| (0) | Free
Preview the AST of your Python code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Python AST Preview in VSCode

Quick and dirty way to see the AST of your active file in VSCode.

This extension uses Python's AST module to generate the AST, converts it to JSON and launches a new file to show you the AST.

Features

Demo Gif

Requirements

Python is required.

Extension Settings

The path to the python executable can be configured by configuring the following setting:

  • python-ast-preview.pythonPath: Path to the python executable

Known Issues

This extension is beta-ish. Feel free to create any GitHub issues for bugs or enhancement requests.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft