Universal Console Utils
This extension is built to ease inserting log (print) statements while coding.
Demo with Selected Text
Demo Blank Mode
Getting started
You can install this awesome extension through:
Installation
Via Visual Studio Code
Launch Quick Open:
Paste the following command and press Enter
.:
ext install universal-console-utils
From VSIX
- Download the
.vsix
file of the latest release from GitHub
- Run
code --install-extension universal-console-utils-*.*.*.vsix
in the command line (reference)
GitHub Repository Clone
Change to your .vscode/extensions
VS Code extensions directory.
Depending on your platform it is located in the following folders:
- Linux
~/.vscode/extensions
- macOs
~/.vscode/extensions
- Windows
%USERPROFILE%\.vscode\extensions
Clone the Universal Console Utils repository as omergulen.universal-console-utils
:
git clone https://github.com/omergulen/universal-console-utils.git omergulen.universal-console-utils
Usage
By default Alt + Shift + L
(Option + Shift + L
for Mac) key combination inserts the most common print statement of the language.
Also, if there is a selection in the editor, it inserts a print statement with that selection. It's like a shortcut for printing variables to the console.
Roadmap
Steps/Status |
Issue |
Language Support |
Functionality Support |
Testing |
TO-DO |
Refactor code |
|
|
Testing |
DONE |
Handle multi-selection |
Support more languages |
TO-DO |
Let users to edit config file |
Support more functions (delete logs etc.) |
TO-DO |
Handle back-tick, sing and double quotes |
TO-DO |
Save/Apply config files to/from Gist's |
TO-DO |
More configuration |
Contribution
Bug reports and pull requests are welcome on GitHub at https://github.com/omergulen/universal-console-utils. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct
License
The repo is available as open source under the terms of the MIT License.