An open API service indexing awesome lists of open source software.

https://github.com/omergulen/universal-console-utils

This extension is built to ease inserting log (print) statements while coding.
https://github.com/omergulen/universal-console-utils

console hacktoberfest helper logging print utility vscode vscode-extension

Last synced: about 1 year ago
JSON representation

This extension is built to ease inserting log (print) statements while coding.

Awesome Lists containing this project

README

          

# 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:
- [Visual Studio Code Marketplace](https://marketplace.visualstudio.com/items?itemName=omergulen.universal-console-utils)
- [Open VSX Registry](https://open-vsx.org/extension/omergulen/universal-console-utils)

## Installation

### Via Visual Studio Code

Launch *Quick Open*:
- Linux `Ctrl+P`
- macOS `⌘P`
- Windows `Ctrl+P`

Paste the following command and press `Enter`.:
```shell
ext install universal-console-utils
```

### From VSIX

1. Download the `.vsix` file of the latest [release from GitHub](https://github.com/omergulen/universal-console-utils/releases)
2. Run `code --install-extension universal-console-utils-*.*.*.vsix` in the command line ([reference](https://code.visualstudio.com/docs/editor/extension-gallery#_install-from-a-vsix))

##### GitHub Repository Clone

Change to your `.vscode/extensions` [VS Code extensions directory](https://code.visualstudio.com/docs/extensions/install-extension#_side-loading).
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`:

```shell
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](http://opensource.org/licenses/MIT).