https://github.com/ahadcove/python-quick-print
Quickly print out log messages in Python
https://github.com/ahadcove/python-quick-print
logging print python vscode vscode-extension
Last synced: 17 days ago
JSON representation
Quickly print out log messages in Python
- Host: GitHub
- URL: https://github.com/ahadcove/python-quick-print
- Owner: ahadcove
- Created: 2018-09-25T04:04:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-09-13T02:37:18.000Z (over 2 years ago)
- Last Synced: 2025-03-18T12:35:59.151Z (about 1 month ago)
- Topics: logging, print, python, vscode, vscode-extension
- Language: TypeScript
- Size: 524 KB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Python Quick Print
Quickly print out log messages

## Installing
This extension is available for free in the [Visual Studio Code Marketplace](https://marketplace.visualstudio.com/items?itemName=AhadCove.python-quick-print)
## Warning
This uses Python 3 syntax,
If you're using Python 2 print isn't a function.
You can import this behavior from __future__:`from __future__ import print_function`
## 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`#### 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](LICENSE)