[Github-comments] [geany/geany] Filter symbols in the Symbol List (new feature) (#2657)

Jiří Techet notifications at xxxxx
Fri Dec 10 08:51:00 UTC 2021


> Ahh, so its a search facility, not really a filter. Would be good, the current search is useless unless you happen to want the first occurrence.

But it turned out to be weird when I tried it and it really should behave as a (permanent until cleared) filter. Some things I discovered in addition:
1. The filter should not probably be applied against just name but the whole scope of a symbol - it's strange to see a class without its members after filtering for its name.
2. The stuff from #3050 should only be applied when filter changes. For C++ classes you get
```
MyClass::foo()
MyClass::bar()
MyClass::baz()
```
in the symbol tree because `MyClass` is defined in the header and its tag isn't present in the source file. That means lots of removals of symbols in the first pass of the symbol tree update when the patch is applied which causes scrolling of the symbol tree when editing file.

Sigh, I thought this would be a nice little patch, quick to apply, and here it comes again :-).

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2657#issuecomment-990745157
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20211210/7db8d2dc/attachment-0001.htm>


More information about the Github-comments mailing list