You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-98Lines changed: 13 additions & 98 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,40 +1,25 @@
1
1
# DebugTrace for Dart
2
2
3
-
**Fast and intelligent debugging for Dart developers**
3
+
**Say goodbye to manual print statements and hello to efficient debugging**
4
4
5
-
DebugTrace is a VS Code extension that supercharges your Dart debugging workflow by automatically generating contextual debug statements. Say goodbye to manual print statements and hello to efficient debugging.
5
+
DebugTrace is a VS Code extension that supercharges your Dart debugging by automatically generating contextual debug statements.
6
6
7
-
## 🚀 Features
8
-
9
-
### Smart Variable Detection
10
-
-**Automatic Variable Recognition**: Place your cursor on any variable and instantly generate debug logs
11
-
-**Contextual Information**: Includes file name, line number, and variable values
12
-
-**Multi-line Statement Support**: Intelligently handles complex objects, arrays, and function calls
13
-
14
-
### Customizable Output
15
-
-**Two Log Types**: Choose between `print()` for console output or `debugPrint()` for Flutter apps
16
-
-**Custom Prefixes**: Personalize your debug messages with emojis or text
17
-
-**Flexible Formatting**: Control message wrapping and separator lines
18
-
19
-
### Bulk Operations
20
-
-**Mass Management**: Comment, uncomment, or delete all DebugTrace logs at once
21
-
-**Clean Workflow**: Easily remove debug statements before production
7
+
### Basic Usage
8
+
1.**Place cursor** on any variable in your Dart file
9
+
2.`Ctrl+L` / `Cmd+L` for instant log insertion
22
10
23
-
## 📦 Installation
11
+
## 🎮 Commands & Shortcuts
24
12
25
-
1. Open VS Code
26
-
2. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
27
-
3. Search for "DebugTrace"
28
-
4. Click Install
13
+
| Command | Shortcut | Description |
14
+
|---------|----------|-------------|
15
+
|`DebugTrace: Insert Log`|`Ctrl+L` / `Cmd+L`| Generate debug log for variable at cursor |
16
+
|`DebugTrace: Insert Log with Message`|`Ctrl+Shift+L` / `Cmd+Shift+L`| Generate debug log with custom message |
17
+
|`DebugTrace: Delete All Logs`|`Ctrl+Alt+L` / `Cmd+Alt+L`| Remove all DebugTrace logs from file |
18
+
|`DebugTrace: Comment All Logs`|`Ctrl+Alt+C` / `Cmd+Alt+C`| Comment out all DebugTrace logs |
19
+
|`DebugTrace: Uncomment All Logs`|`Ctrl+Alt+U` / `Cmd+Alt+U`| Uncomment all DebugTrace logs |
29
20
30
21
## 🎯 Quick Start
31
22
32
-
### Basic Usage
33
-
1.**Place cursor** on any variable in your Dart file
0 commit comments