So how I like to debug is to insert a ton of Debug.Log statements (working on a Unity project) in the code to see what is being executed when, and what the state of some variables are. I got tired of typing the whole thing, so I made a macro.
Now usually, I type:
And Rider autocompletes the double quotes, and the ); at the end, leaving me with Debug.Log($""); and my cursor positioned between the quotes.
So I made a Macro to type that. But when the macro runs, the semicolon at the end is lost. I think because the macro is adding the $ so quickly it interrupts the semicolon.
So I changed the macro to be Debug.Log($[end key];[left arrow three times]
Now, that worked for about a day.
Then something happened, a timing issue I am sure, and suddenly when I run the macro, I'm getting something like this:
Its like the autocomplete is fighting the macro. Now the macro is useless.
Is there a way to just turn the autocomplete off during the macro?
In addition, is there a way to EDIT the macros once recorded? Under the edit macro window, I can REMOVE steps that are recorded, but I cannot move them, or add new ones. If I need to tweak something, I need to re-record the entire thing.