[Github-comments] [geany/geany] Add option to show symbols in symbol tree without root groups (PR #3172)

Jiří Techet notifications at github.com
Mon Apr 18 10:16:35 UTC 2022


> I wonder why the single "Symbols" root row is needed? It seems superfluous and adds a level of indentation.

It's not needed but it greatly simplifies the implementation - the code constructing the tree is basically the same as before (only 1 extra line of code), there's just a single top-level category instead of several. So yeah, I agree it's unnecessary but the tree construction code is really complicated already and I don't want to make it worse by adding many more `if (categorized) do_stuff; else do_stuff2;`

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/3172#issuecomment-1101289500
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/pull/3172/c1101289500 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20220418/5ec2968a/attachment.htm>


More information about the Github-comments mailing list