EasyConsole - Smart Debug Logger
A VSCode extension that makes debugging easier with intelligent console logging across multiple programming languages.
![Extension Demo](https://github.com/checkupcodes/console-log/raw/HEAD/resources/easyconsole.gif)
Features
- 🚀 One-Click Debug Logging: Quick keyboard shortcut (Ctrl+Shift+Q / Cmd+Shift+Q) to insert debug statements
- 🌍 Multi-Language Support: Automatically adapts to different programming languages:
- JavaScript/TypeScript:
console.log()
- Python:
print()
- PHP:
error_log()
- Java:
System.out.println()
- C#:
Console.WriteLine()
- Go:
fmt.Printf()
- Ruby:
puts
- Rust:
println!()
Installation
- Open VSCode
- Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
- Search for "EasyConsole"
- Click Install
Usage
- Select any variable, expression, or text in your code
- Press
Ctrl+Shift+Q (Windows/Linux) or Cmd+Shift+Q (Mac)
- A debug statement will be inserted on the next line
Example outputs for different languages:
// JavaScript/TypeScript
console.log('Debug:', myVariable);
# Python
print(f"Debug: {myVariable}")
// PHP
error_log("Debug: " . $myVariable);
// Java
System.out.println("Debug: " + myVariable);
// C#
Console.WriteLine($"Debug: {myVariable}");
// Go
fmt.Printf("Debug: %v\n", myVariable)
# Ruby
puts "Debug: #{myVariable}"
// Rust
println!("Debug: {:?}", myVariable);
Key Benefits
- ⚡ Fast Debugging: Instantly add debug statements without typing
- 🎯 Language Aware: Automatically uses the correct logging syntax
- 🔍 Clear Output: Consistent debug prefix for easy log identification
- 💡 Smart Formatting: Proper string formatting for each language
Requirements
- VSCode version 1.96.0 or higher
Extension Settings
This extension contributes the following settings:
easyconsole.showSelectedText : Enable/disable the extension
- Keyboard Shortcut:
ctrl+shift+q (Windows/Linux) or cmd+shift+q (Mac)
Known Issues
Please report any issues on our GitHub repository.
Release Notes
0.0.3
- Added multi-language support
- Improved code formatting
- Bug fixes and performance improvements
0.0.2
- Added keyboard shortcuts
- Enhanced debugging output
0.0.1
- Initial release
- Basic console logging functionality
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This extension is licensed under the MIT License.
Author
Created by CheckupCodes
Enjoy debugging with EasyConsole! 🚀
| |