Personal tools
You are here: Home Random Bits ctags 5.6 with php5 support
Document Actions

ctags 5.6 with php5 support

by Howard The Duck last modified 2007-06-17 02:38 PM

Howto patch ctags 5.6 to work with php5 class member variable features (private, public, protected). I used Borlands free C++ compiler, should work with any other C compiler too.

- get ctags for windows .zip
http://ctags.sourceforge.net/
- get regex lib
http://people.delphiforums.com/gjc/gnu_regex.html
- get patch from
http://blog.bitflux.ch/archive/2004/04/15/ctags_for_php.html
- unpack ctags
- copy gnu_regex.exe into ctags dir and run it (extract it)
- edit mk_bc5.mak
remove comment from line
REGEX_DIR = gnu_regex_dist
- add C:\Borland\BCC55\Bin\ to PATH environment variable
$ SET PATH=C:\Borland\Bcc55\Bin;%PATH%
- create C:\Borland\BCC55\Bin\bcc32.cfg
contents:
-I"C:\Borland\Bcc55\include"
-L"C:\Borland\Bcc55\lib;C:\Borland\Bcc55\lib\PSDK"
- run
$ make -fmk_bc5.mak

- Why all the fuzz? I needed a working ctags.exe for my jEdit (http://www.jedit.org/) sidekick to display a somewhat useful tree of functions and variables at work.

« July 2008 »
Su Mo Tu We Th Fr Sa
12345
6789101112
13141516171819
20212223242526
2728293031
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: