- Menu: this is the only remaining problem with adding more filetypes AFAICT, everything goes in the "Programming" submenu which is already too large, seems general agreement that the menu should be arranged by name in alphabetic ranges. The ranges can be chosen to make each sub-menu about the same size. Question should this change happen before more filetypes are added to avoid making the menu even bigger?
I was thinking about how to best implement this. I remember there were objections against alphabetic naming of the groups as it might be hard to figure out quickly whether the searched language is within the letter range.
I think we might make all the groups configurable - we do it only for custom filetypes now
[Groups]
Programming=Arduino;Clojure;CUDA;Cython;Genie;Groovy;Kotlin;Scala;Swift;
#Script=Graphviz;TypeScript;Meson;
#Markup=
#Misc=JSON;
#None=
but we could extend it to all filetypes so the default config would look something like this:
[Groups]
group_name_1=A-F
group_langs_1=Abc;Arduino;...
group_name_2=G-L
group_langs_2=Groovy;...
...
This would allow users create their own groups like
[Groups]
group_name_1=My Languages
group_langs_1=Python;C;C++;Go;JSON
for quick access to the languages they use. There would just have to be some implicit "Other" group for cases when users redefine the groups in such a way that some languages aren't listed at all - such languages would be placed into this "Other" group so they are not gone forever.
Thoughts?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.