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

https://github.com/ahadcove/js-quick-console

Quickly print out log messages in JavaScript
https://github.com/ahadcove/js-quick-console

console console-log javascript logging vscode vscode-extension

Last synced: 5 days ago
JSON representation

Quickly print out log messages in JavaScript

Awesome Lists containing this project

README

        

# JavaScript Quick Console

Quickly print out log messages

![](images/demo.gif)

## Installing

This extension is available for free in the [Visual Studio Code Marketplace](https://marketplace.visualstudio.com/items?itemName=AhadCove.js-quick-console)

## How to use

#### Only activates with .js and .ts files

* Highlight anything in the editor
* Press `Cmd+Shift+L` (Mac), or `Ctrl+Shift+L` (Windows)
* The output (on a new line) will be: `console.log('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 `Log Javascript Selection` and click on the `pen icon`.
This is where you can enter any `Shortcut` you choose.

## License
[MIT License](LICENSE)