tagbar

ctags and tagbar configuration are out of sync

走远了吗. 提交于 2019-12-24 06:35:37
问题 I'm trying to use tagbar for reading code in jquery-1.7.1.js(renamed jquery.js) ,but it doesn't work and display any errors : "your ctags and tagbar configuration are out of sync! ". And my ~/.ctags file: --regex-JavaScript=/([A-Za-z0-9._$]+)[ \t]*[:=][ \t]*new[ \t]+Object\(/\1/o,object/ --regex-JavaScript=/([A-Za-z0-9._$]+)[ \t]*[:=][ \t]*\{/\1/o,object/ --regex-JavaScript=/([A-Za-z0-9._$()]+)[ \t]*[:=][ \t]*function[ \t]*\(/\1/f,function/ --regex-JavaScript=/function[ \t]+([A-Za-z0-9._$]+)[

VIM: hack ctags or tweak tagbar for better PHP support

亡梦爱人 提交于 2019-12-24 03:14:14
问题 Recently, i gave up Taglist for Tagbar . Tagbar works as expected for all languages except PHP. It lists class, methods and variables into their respective categories instead of displaying methods and variables into their respective scope. I came to know that ctags has poor support for PHP. Is there any way to improve ctags and Tagbar's support for PHP? I am hopping for some kind of hack or tweak, or any other way around. 回答1: I have just using PHP_Parser as syntax parsing backend written a

Customize airline tagbar extension to include current tags parent

一曲冷凌霜 提交于 2019-12-13 08:39:19
问题 The airline plugin has an extension which uses Tagbar to show the current function name. (I know this because of this question which I found via asking this question) This works really well and looks great. Here's airline showing me I'm editing the do_foo() function: But Tagbar knows much more than this! Specifically, it knows the current class (i.e. the parent of the current tag): (It does this using ctags) Is there a way to configure airline to tell me the current class as well as the