Skip to content

ClemCa/python-prev

Repository files navigation

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.

About

VSCode Line Preview for Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors