[Github-comments] [geany/geany] Load only necessary tags on demand (#2546)

nick87720z notifications at xxxxx
Sun Jul 12 09:32:00 UTC 2020


geany 1.36 from gentoo portage tree.
When I try to open C source/header, it freezes for nearly half-minute on first such attempt. Next C file attempts go without freeze. Tried with all modules disabled.
Build config (guessed from ebuild):
--enable-gtk3 --enable-vte --disable-html-docs --disable-pdf-docs

My current tags database has over 2k files, which look like matching to C header files, with total size over 400Mb. On first attempt to open C source/header (but not on editor start) it loads all of them (can be visible if started with --verbose option).
It doesn't matter if this file empty or just config.h, generateed by build system.

Would be better if only necessary files where loaded, based on include/import lines in opened file, recursively. Could be less annoying if geany never needed to be closed/restarted.

-- 
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/issues/2546
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20200712/63dc6ada/attachment.htm>


More information about the Github-comments mailing list