You are here: Re: Organizing scripts « All PHP « IT news, forums, messages
Re: Organizing scripts

Posted by Koncept on 11/17/06 01:07

In article <1163694044.018758.302050@m73g2000cwd.googlegroups.com>,
kenoli <kenoli@igc.org> wrote:

> Wow! Looks like an impressive piece of software. Does it have an
> explicit bundle for php? I couldn't see anything from my quick
> perusal. I was impressed with phpexlipse' ability to show the results
> of a php script in real time and even identify where it found an error.
>
> Anything like this in textmate?
>
> --Kenoli

Download it... open up a php file with errors and hit ( cntl + shift
+ v ) to test for errors.

You can extend things yourself via snippets as well.. For example (
VERY SIMPLE )

function ${1:name}(){ $2 }$0

when you hit tab, "name" with be highlighted. You can then replace it,
hit tab again and be placed within the body of the function. Your last
tab $0 will take you outside of the current function's scope. Here is a
better example of a snippet

Set Activation to "Tab Trigger"
Set snippet to "_ina" ( just a suggestion )
Set scope to source.php

Now paste this into the snippet area

in_array ( ${1:mixed needle}, ${2:array haystack}${3:, ${4:[bool
strict]} )$0

Now when you type "_ina" and hit tab, you can tab through the
function's parameters without having to type much at all.

See the docs for more examples. screencasts are great as well.

--
Koncept <<
"The snake that cannot shed its skin perishes. So do the spirits who are
prevented from changing their opinions; they cease to be a spirit." -Nietzsche

 

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

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