[Phpmyadmin-devel] vim and $id

Marc Delisle Marc.Delisle at cegepsherbrooke.qc.ca
Wed Jan 31 09:46:20 CET 2007


Sebastian Mendel a écrit :
> what are the rules for this:
> 
> /* $Id: tbl_replace_fields.inc.php 9887 2007-01-30 18:10:17Z lem9 $ */
> // vim: expandtab sw=4 ts=4 sts=4:
> 
> isn't it enough if it is placed inside the pagelevel docblock?

For $Id, I think it can be anywhere but we tend to place it at top to 
see it better.

For the vim options, they say "at the beginning and end of file"; I 
experimented and it must be in the first or last 5 lines.
> 
> where must this vim settings placed for being recognized by vim?
> 
> especially in this case - there is already an $id in the pagelevel 
> docblock - is this the wrong location?

Sorry, I had not seen it :) because I looked only at the top. Yeah we 
should be more consistent on this.
> 
> why pagelevel docblock? - to appear in the phpDoc generated documentation
> 
> 






More information about the Developers mailing list