You are here: Indent PHP script for VIM version 1.23 released « All PHP « IT news, forums, messages
Indent PHP script for VIM version 1.23 released

Posted by John Wellesz on 01/15/06 10:16

Hello,

Here is a new version of my indent script for PHP with some improvements
and some bug fixes :)

Additionally, there is now a newsletter where you can subscribe to be
alerted when a new version is released: (No other kind of message will be
broadcasted)

http://www.2072productions.com/?to=php-indent-for-vim-newsletter.php


Changes in version 1.23:

- PHPDoc comments are now indented according to the surrounding code.
- This is also true for '/* */' multi-line comments when the second line
begins by a '*'.
- Single line '/* */' comments are also indented.
- <script> html tags are now correctly indented the same way their content
is.
- <?.*?> (on a single line) PHP declarations are now always considered as
non-PHP code and let untouched.


You can view its capabilities and download it there:

http://www.vim.org/scripts/script.php?script_id=1120

Or there (colorful version):

http://www.2072productions.com/?to=phpindent.txt

Enjoy :-)

John Wellesz

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация