[TxMt] PHP Project Functions - "Dion Almaer"
Jasper van der Meulen
jasper at logt.nu
Fri Jun 1 08:55:22 UTC 2007
Nice one,
I wonder if it's possible to cache the results ..so if you trigger it
another time .. it won't has to search the whole project again.
Regards J.
On Jun 1, 2007, at 10:47 AM, Ciarán Walsh wrote:
> This is somewhat odd, but I made this rough command. Type the start
> of a function name in your project and press ⌃⌥⎋
>
> <Find function.tmCommand>
>
> 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
>
>
> ______________________________________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20070601/4a413ead/attachment.html>
More information about the textmate
mailing list