Open bmeww opened 5 years ago
Hi! Is maybe ctags
not in your PATH
? Can you do :let g:gutentags_trace = 1
and report back on what it says in both Vim's messages and in the tags.log
file left behind?
I meet the same problem in window 7 with Gvim 8.1, can you help to solve it? Thank you very much!
The gunentags config in my vimrc is below
And, the ctags I use is universal-ctags.
Thanks! What's in the .log
file that's listed at the end of the command line in that first screenshot?
Alternatively, have you pulled the Gutentags code recently? The log gets sent back to Vim so that if you type :messages
you'll also see that log info.
Here is the message.
大兄弟,我也遇到这个情况, 我是/plat/unix/文件夹中的 $CTAGS_EXE 不是GNU的ctags ,我直接 把 $CTAGS_EXE 这个变量 hard code换成ctags 执行的绝对路径,比如 /usr/bin/ctags
@coder2018cp The job output looks weird -- maybe unicode characters that are getting messed up by either Gutentags or Vim or something?
Copy the command line after the Running: 'C:\Users\....'
and try to run it manually, from inside F:\study\net_study\game.io
. That should let you troubleshoot what's wrong.
The bug is at /plat/win32/update_tags.cmd when it is parsing args: -e "ctags" -t "C:\Users\zoumi.cache\tags\E--ProgramFiles(x86)-Vim-tags" -p "E:\Program Files (x86)\Vim" -o "E:\Program Files (x86)\Vim\vimfiles\bundle\vim-gutentags\res\ctags_recursive.options" -O "--output-format=e-ctags" -l "C:\Users\zoumi.cache\tags\E--ProgramFiles(x86)-Vim-tags.log" it get the error.
We need escape"E:\Program Files ^(x86^)....."
There is another bug?: In my case, tag file should be "C:\Users\zoumi.cache\tags\E--ProgramFiles(x86)-Vim-\tags" not "C:\Users\zoumi.cache\tags\E--ProgramFiles(x86)-Vim-tags"
I think this issue related to -o "c:\program files (x86)..." cant pass (x86) to ctags
I changed source code not using "res\ctags_rever...options" in the default path
Any update on this? Can (x86)
be escaped somehow?
I have the same problem on windows7. Is there any further solution to this problem?
I meet the same problem in window 7 with Gvim 8.1, can you help to solve it? Thank you very much! The gunentags config in my vimrc is below
And, the ctags I use is universal-ctags.
我的问题跟你类似,我把vim安装目录和配置文件从program files目录移到了d:\tools目录下就完全好了,应该是不支持windows的带空格的目录名造成的。
hi, I am using gutentags in gvim in windows. First i create a empty folder called “.project” in my dirctory. Then when i open the file using gvim, i get the message "gutentags: gutentags: ctags job failed, returned: 255". I am using univeral ctags and gtags fo windows. It looks like the gtags work correctly.