Open cands opened 3 years ago
Hey @cands. Thanks for the suggestion.
Just curious ... What is the scenario when you need to copy the comment? like sharing a command and a comment to someone? cuz I found using too many modifiers to enable different abilities is a bit ... unintuitive. I prefer not to do that but am willing to see how it works for your case. Thanks.
Thanks for your response and considering my feature request @wayneyaoo
For me the most common scenario is when I document code for making it easier for others to use (and for myself in the future), e.g. when working with Python and Jupyter Notebooks. The comments to the commands are then very helpful as a starting point to explain how the code works. The scenario you mention also occurs sometimes when I want to provide tips to someone.
I guess that many Alfred users are used to pressing modifiers for alternative actions, since it is a feature used in many workflows and is a standard component of workflows, so I would hope that a function to copy the comment could be valuable for many other users of your workflow.
Hi, I posted a feature request in Alfred Forum but you may not monitor that so copying here as well:
Hi again, I'm using this workflow a lot, and I have not experienced any problems after updating to macOS Big Sur. I have one feature request (besides autoupdate as asked before), would it be possible to optionally copy also the comment for a command (written as "# comment" above the command in the text files), .e.g. using another modifier such as the option key? I sometimes find a need to not only copy / paste the command itself but also the comment along with the command.