-
Notifications
You must be signed in to change notification settings - Fork 77
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
Group macros in the sidebar #1845
Comments
Agent will optionally auto-group macros, but it's not trivial how. I suggest using the Sounds good? |
Due to macro calling, I tend to favour special-character-less macro names, so I strongly oppose using A more general, more smart brainstorm idea is to use the following regex:
It would be used recursively (I am happy to write that algorithm), and the recursion levels would be concatenated if the above regex identifies only one subgroup. E.g., in the example above it could create groups as:
On my config: it would yield (I am not saying that it is an ideal grouping - just what the algorithm that I have in mind would yield):
Some intelligent clustering should be devised to flatten above groups - e.g., the |
In hindsight, I can see the limitation of my suggestion. However, to be more explicit about what to separate, I'd only allow non-alphanumeric characters for the separator substring. I'd make the maximum depth and the minimum number of children to cluster configurable via Agent settings. |
If we want to make it configurable, then I would like to add a checkbox to allow camel case separation. If we dont want to clutter the configuration at all (by clustering parameters) then I find the suggested non-alpha separation to be reasonable. |
I'm not against camel case separation, but I'd like to see how many other users would use it. Please comment about your use cases, folks! |
I made a lot of macros lately and cluttered my sidebar. Would it be possible to add the ability to organize macros into collapsible folders/groups?
The text was updated successfully, but these errors were encountered: