Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Python PrevNew to Visual Studio Code? Get it now.
Python Prev

Python Prev

ClemCa

|
813 installs
| (2) | Free
Line Preview for Python
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Python Prev

A simple inline previewer for VSCode and Python.

Cover Example

Features

  • Assignments: See the value of variables after assignment.
  • Loops: See the range or values iterated over in for loops.
  • Errors: See error messages inline.
  • Mocking: Mock input() calls, assignments or function definitions with a custom values. By default input is mocked to an empty string so execution can continue (# mock (value))
  • Calling Limit: Limit the number of times a line can be called. (# limit (number))

Extension Settings

This extension contributes the following settings:

  • python-prev.color: Sets the preview text color.
  • python-prev.error: Sets the error color.
  • python-prev.activeColor: Sets the color for the currently active line.
  • python-prev.activeError: Sets the error color on the currently active line.

Disclaimer

This extension has not been extensively tested, so it may contain bugs or lack some features. Feature requests and bug reports are welcome.

Known Issues

No known issues. Please report any bugs or feature requests on GitHub.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft