-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
featureNew feature or requestNew feature or request
Description
Add some keyboard shortcut i.e. Ctrl+K that takes a line and turns it into valid "printf" debugging code.
It takes in "commands" and converts them into working code.
Here is how the commands should work:
d, <var/expr>, [alias]: does something akin tocout << #x << (x) << ' ';except#xis replaced by the alias if it's specifiedl, <label>: does something akin tocout << '[' << x << "] ";exceptxis<label>.l2, <label>: Same thing aslexcept normal brackets are used instead of square ones
More to come!
To separate commands, use semicolons. Her e is an example:
l, addition; d, a; d, b; d, a+b, sum;
with a=2 and b=5 would print: [addition] a=2, b=5, sum=7
Metadata
Metadata
Assignees
Labels
featureNew feature or requestNew feature or request