LogWizardry
LogWizardry is a magical Visual Studio Code extension that enhances your coding experience by making debugging a breeze. With LogWizardry, you can conjure detailed console.log statements with just a flick of your code wand.
🧙♂️ Key Features
Effortless Console Logging: Say goodbye to manual console.log typing. LogWizardry automates the process, saving you time and keystrokes.
Dynamic Log Messages: Insert your cursor, select text, or even use clipboard content – LogWizardry adapts to your coding style.
File and Line Information: Each log statement includes the current file name and line number, providing context at a glance.
Spellbinding Efficiency: Boost your productivity and focus on the magic of coding, not the chore of logging.
Installation
You can install LogWizardry directly from the Visual Studio Code Marketplace.
- Open Visual Studio Code.
- Go to the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window.
- Search for "LogWizardry."
- Click the Install button.
Usage
Once installed, using LogWizardry is as easy as invoking the command:
- Open your JavaScript or TypeScript code file.
- Highlight or copy the text you want to include in your console.log statement.
- Use the magic keybinding (customizable) or the Command Palette using the command Insert Magical Log to insert your console.log.
Example
Imagine you have a line of code you want to log:
const message = "Hello, LogWizardry!";
Highlight the text, invoke the LogWizardry command, and witness the magic:
console.log("🌙 ――― file: app.js:1 ――― error:", message);
🌙 ――― file: app.js:1 ――― error: Hello, LogWizardry!
🪄 Embrace the Magic
Discover the enchantment of LogWizardry and simplify your debugging and code exploration tasks. It's your trusty spellbook for crafting elegant console.log statements.
🪄 Embrace the magic. Download LogWizardry today!
License
This extension is provided under the MIT License.