[TxMt] PHP Project Functions - "Dion Almaer"
Ciarán Walsh
ciawal at gmail.com
Fri Jun 1 08:47:59 UTC 2007
This is somewhat odd, but I made this rough command. Type the start
of a function name in your project and press ⌃⌥⎋
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Find function.tmCommand
Type: application/octet-stream
Size: 1685 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20070601/e80bd090/attachment.tmCommand>
-------------- next part --------------
I've given it only the quickest of testing, but if people find use in
it then I can finish it off.
On 31 May 2007, at 14:49, Emmanuel Borlet wrote:
> helo i would like to use
> ----------
> PHP Project Functions - "Dion Almaer"
>
> Goes through the project directory and groks out all functions. If you
> select some text it will narrow it to that.
>
> Before running command: Nothing
> Command(s): grep -E -n -r --include=\*.php --exclude=.svn "function
> ${TM_SELECTED_TEXT:-$TM_CURRENT_WORD}\w+\s*\("
> ${TM_PROJECT_DIRECTORY:-$TM_DIRECTORY}
> Standard input: None
> Standard output: Show in separate window
> Pattern: ^(.+):(\d+):(.*)$
> Format String: $1, line $2: $3
> File Register: 1
> Line: 2
> ------------
> finded there :
> <http://macromates.com/wiki/Main/SearchWiki?pagename=Main%
> 2FSearchWiki&q=php+function>
>
> but it didn't work
>
> can you help me ?
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
More information about the textmate
mailing list