-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The kb-macro.repeatPlaybackTillEndOfFile command does NOT have an optional sequence argument #458
Comments
Thank you for pointing out that! You are correct. I think your first suggestion is good 👍. I will work on that later. The second suggestion sounds interesting, but let me think about it. |
The command names 'Repeat Playback' and 'Repeat Playback Till End of File' were a bit misleading indeed. Changing the behavior of an existing command without introducing any new argument is not good. Creating a new command is better. Thinking about use cases of performing last performed playback, I think we may want to have all three types of new playback commands:
|
I totally agree. As I suggested, possibly something like kb-macro.repeatLastPlaybackTillEndOfFile? |
It is easy to imagine having a set of shortcut keys in the keybindings.json for easy daily coding or something. Some would map to a single command. Others would map to the playback command since each is a sequence of multiple commands. |
Apologies: I do not understand the question. |
Sorry for the confusion. I didn't mean to ask you a question; I was just wondering. I want to make this extension as useful for people as possible without introducing unnecessary features. |
Hi, I selected the first one from your two ideas. The release v0.14.0 has that as a new feature. Thank you for great suggestions! |
Thanks @tshino ! I will try asap and let you know how it goes. |
Near the bottom of the ReadMe, it says:
If I use kb-macro.repeatPlaybackTillEndOfFile binded to a shortcut key (eg Ctrl-Shift-Alt-s) in keybindings.json (see example below), the argument sequence is ignored (or seems to be ignored) and it is the last macro that I recorded that is executed.
I understand the kb-macro.repeatPlaybackTillEndOfFile does not support this argument, am I right? Could it?
I tried a work around, but it does not work as I expected:
If I use kb-macro.playback binded to the shortcut key, the arg sequence is played. Good. Now if I hit Ctrl-Shift-P and select Repeat Playback Till End Of File from the drop down, it plays back the last macro I recorded, not the macro I just executed.
So, I see two possible improvements:
1 Support argument sequence in kb-macro.repeatPlaybackTillEndOfFile.
2 When using Ctrl-Shift-P and select Repeat Playback Till End Of File it should run the last macro that was executed, not the last macro that was recorded. Or add kb-macro.repeatLastPlaybackTillEndOfFile?
The text was updated successfully, but these errors were encountered: