redguardtoo / company-ctags

Fastest Emacs auto-completion using Company and Ctags
GNU General Public License v3.0
56 stars 3 forks source link

can not use large TAGS file #10

Open maobaoqi opened 3 years ago

maobaoqi commented 3 years ago

Hi chen,

I create TAGS file under /usr/include and the file is very large and about 478M. Emacs can open this file but company-ctags or counsel-etags can not use it. error like this: Snipaste_2021-02-24_20-38-04

redguardtoo commented 3 years ago

M-x toggle-debug-on-error? need more information.

maobaoqi commented 3 years ago

@redguardtoo here is debug report screenshot Use command "find /mingw32/include | ctags --kinds-c=+px -e -R -L -" to generate this big tag file. However, use command "find /mingw32/include | ctags --kinds-c=+px -e -L -" generate smaller tags file about 98M. Smaller tags file works well. Snipaste_2021-02-25_08-35-21

redguardtoo commented 3 years ago

create multiple TAGS and use company-ctags-extra-tags-files.

maobaoqi commented 3 years ago

@redguardtoo OK,that‘s an idea. I will try use this method. Please close this issue. thanks