Menu

#335 enable certain member function list for class in PHP

open-invalid
nobody
None
5
2012-07-21
2012-07-21
eydaimon
No

ctags currently ignore various class syntax such as "abstract class" and functions defined as public, private, etc.

http://mwop.net/blog/134-exuberant-ctags-with-PHP-in-Vim.html discusses a solution, but this should be native to ctags.

Current workaround: --PHP-kinds=+cf \ --regex-PHP='/abstract class ([^ ]*)/\1/c/' \ --regex-PHP='/interface ([^ ]*)/\1/c/' \ --regex-PHP='/(public |static |abstract |protected |private )+function ([^ (]*)/\2/f/'

Discussion

  • eydaimon

    eydaimon - 2012-07-21
    • summary: enable member function list for class in PHP --> enable certain member function list for class in PHP
     
  • eydaimon

    eydaimon - 2012-07-21
    • status: open --> open-invalid
     
  • eydaimon

    eydaimon - 2012-07-21

    nevermind. After playing with it I got it to work. I upgraded my ctags version in the process so I'll attribute it to that. (had 5.6)

     

Log in to post a comment.