0.0.7 • Published 6 years ago

python-quick-print v0.0.7

Weekly downloads
5
License
-
Repository
github
Last release
6 years ago

Python Quick Print

Quickly print out log messages

npm.io

Installing

This extension is available for free in the Visual Studio Code Marketplace

How to use

Only activates with .py files

  • Highlight anything in the editor
  • Press Cmd+Shift+L (Mac), or Ctrl+Shift+L (Windows)
  • The output (on a new line) will be: print('variable: ', variable)
  • Works with Python 2 and Python 3, but it uses the function definition vs the keyword so in Python 2 it will print with the parenthesis ('variable', variable)

Keyboard Shortcut

By default the keyboard shortcut is Cmd+Shift+L or Ctrl+Shift+L If this shortcut interferes with another extension or system wide Shortcut, you may change it in the Keyboard Shortcuts Setting.

Press Cmd+P or Ctrl+P and type in Open Keyboard Shortcuts. Search for Print Python Selection and click on the pen icon. This is where you can enter any Shortcut you choose.

License

MIT License