亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

How to configure the vim taglist plug-in?
世界只因有你
世界只因有你 2017-05-16 16:42:08
0
1
806

My relevant configurations in .vimrc are as follows:

filetype on

let Tlist_Ctags_Cmd = '/usr/bin/ctags' 
let Tlist_Show_One_File = 1        "不同時(shí)顯示多個(gè)文件的tag,只顯示當(dāng)前文件的
let Tlist_Exit_OnlyWindow = 1      "如果taglist窗口是最后一個(gè)窗口,則退出vim
let Tlist_Use_Right_Window = 1     "在右側(cè)窗口中顯示taglist窗口

map <F8> :! ctags -R --languages=javascript,java,python<CR>

But when F8 is used, the javascript function list cannot be created, and there is no error message. There is a tags file in the current path of the code. When F8 is pressed, the file is updated and contains js-related content. But when displaying the tags list in vim, there is only the code file name and no function list. why?

世界只因有你
世界只因有你

reply all(1)
習(xí)慣沉默

Okay, I found the problem myself.

ctags only supports styles such as function aa(){}. And my code is all written in this way: var aa = function(){}, so it cannot be displayed.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template