Log Wrapper
Log Wrapper is a VS Code extension that helps you add console.log statements for all variables inside a selected function or code block.
Features
- Automatically adds
console.log statements for all variables in the selected code block.
- Helps in debugging by quickly adding log statements.
Usage
- Select a function or a block of code in the editor.
- Press
Ctrl+Shift+P to open the command palette.
- Type
Log Wrapper: Add Logs and press Enter.
console.log statements will be added for all variables in the selected code block.
Requirements
No additional requirements.
Extension Settings
This extension does not contribute any settings.
Known Issues
No known issues at the moment. Please report any issues you encounter.
Release Notes
0.0.1
- Initial release of Log Wrapper.
Following extension guidelines
Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.
Working with Markdown
You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
- Split the editor (
Cmd+\ on macOS or Ctrl+\ on Windows and Linux).
- Toggle preview (
Shift+Cmd+V on macOS or Shift+Ctrl+V on Windows and Linux).
- Press
Ctrl+Space (Windows, Linux, macOS) to see a list of Markdown snippets.
Enjoy!
| |