perl - Is there a vim plugin that makes Moose attributes show up in Tag_List? -


I am editing a package that uses mousse, and I was wondering whether the mousse attributes should be in the tag There was no plugin to show in the list.

For example, in the following code, the attribute does not appear in the option tag_list, but print_out_site does:

Mood; MooseX :: AttributeHelpers; ... in 'Options' = & gt; (MetaCLASS = & gt; 'Collection: hash', isa = & gt; 'hashff [str]', = '' ro '', which = = (exists>, 'exists',' To get & gt; '', set = & gt; 'set',},); ... sub print_out_site {my $ self = shift; my $ key = shift; $ self-> fast_out_fah-> gt; ; Print ("& gt;", $ key, "\ n"); $ self- gt; fast_out_ff- & gt; print ($ self-> site-> {$ key}, "\ n" );}

add row

  - regex -perl = / is '(. *)' = & Gt; \ (/ \ 1 / a, attribute, moose attributes /  

to ~ / .ctags and show it To avoid duplicate matches in other files, you may need to tweak the regular expression or to adjust the different formatting for feature announcements in other files.

This increases CTAs So that it could detect another type of tag based on regular expression while parsing perl files.

It is necessary to tell the tag tag plugin by adding it to your vimrc file Awareness is:

  Let tlist_perl_settings = 'perl; C: continuous; L: label; P: package; S: suburoutine; A: attribute ' 

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -