[TxMt] PHPCodeCompletion Bundle
slazareth at comcast.net
slazareth at comcast.net
Wed Nov 1 07:32:44 UTC 2006
I FIXED IT!
Alright, so I do believe I've fixed the PHPCodeCompletion Bundle. It
should now complete your code and input placeholder variables as
parameters. I've also added another feature. Sometimes when I'm
viewing my local docs I want to view the online docs to see comments
and such. So I've added a link at the top of each local documentation
window to that same functions page on the php.net server. Hope that
helps some others.
Ok, so the install. I ran GetBundle to install PHPCodeCompletion
originally. This put my bundle at ~/Library/Application Support/
TextMate/Pristine Copy/Bundles/PHPCodeCompletion.tmbundle
(sorry, but not sure about the SVN method of install, but I assume it
goes to the same place?)
So just locate your PHPCC bundle and replace it with the one I have
attached to this email and then reconfigure PHPCC! Also can some
others please confirm that this is working? Let me know if anyone has
any problems and I'll do my best to help out. (backup your current
bundle just in case) Enjoy!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PHPCodeCompletion.tmbundle.zip
Type: application/zip
Size: 480852 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20061101/d8db6a63/attachment.zip>
-------------- next part --------------
-- Casey
On Nov 1, 2006, at 1:51 AM, slazareth at comcast.net wrote:
> Ok, an update on that.
>
> I installed Xcode tools from my OSX Install disc. Reformatted last
> week and didn't realize I had yet to reinstall it. After doing this
> I no longer get the command not found error. Instead when I run the
> snippet nothing happens. Cursor blinking pauses for a split second
> and then nothing.
>
> On Nov 1, 2006, at 1:27 AM, slazareth at comcast.net wrote:
>
>> I have the same problem as Sean. str_replace yields commas and
>> parentheses and that is all.
>>
>> I found in the archives a post made by you soryu that included a
>> PHP2 bundle. I installed that and when I run it I get the
>> following error.
>>
>> "str_replacesh: line 1: ctags: command not found"
>>
>> I looked into your readme inside the tmbundle package and saw that
>> it needs ctags (duh right?) It also said that it comes with Tiger
>> which is not the case as I have tiger and no ctags. Could be a
>> configuration thing? Do I need to enable ctags somewhere?
>>
>> On Oct 31, 2006, at 8:48 PM, Sean Schertell wrote:
>>
>>> Update:
>>>
>>> I just discovered that if I attempt to code-complete a function
>>> which accepts multiple args, I get the commas, but no args like
>>> this:
>>>
>>> str_replace [ then click opt-esc ], becomes:
>>>
>>> str_replace( , , )
>>>
>>> Does that help at all?
>>>
>>> Sean
>>>
>>>
>>>
>>> On Nov 1, 2006, at 10:35 AM, Sean Schertell wrote:
>>>
>>>> Hi There,
>>>>
>>>> For what it's worth, I just tried installing phpcc for the first
>>>> time and I'm having the exact same issue reported by slazareth.
>>>> Opt-Esc just adds parentheses, no code. I installed phpcc 10
>>>> mins ago using the "GetBundle" bundle with all default settings
>>>> and I as I said, this is my first time ever installing phpcc so
>>>> there shouldn't be any previous installation issues.
>>>>
>>>> Sean
>>>>
>>>>
>>>>
>>>> On Nov 1, 2006, at 8:23 AM, Soryu wrote:
>>>>
>>>>>
>>>>> On 31.10.2006, at 21:27, slazareth at comcast.net wrote:
>>>>>
>>>>>> I have updated the bundle and its still not working. Are you
>>>>>> sure your modifications have made it to the repository on the
>>>>>> server?
>>>>>>
>>>>> Someone had asked in the IRC channel about this, which made me
>>>>> investigate. He told me, it worked for him, after I checked it
>>>>> in. Do you checkout to /Library or ~/Library? Maybe you have a
>>>>> locally modified version of the command or something like this.
>>>>> The command seems to generally fail if modified locally with a
>>>>> checkout to /Library because the Path used in the command
>>>>> points to ~/Library in that case where it can?t find the helper
>>>>> file it calls. Though in that case it should report the missing
>>>>> file?
>>>>>
>>>>> That?s all I can think of now. Please check your setup and
>>>>> report back in case you can?t fix it,
>>>>> Soryu
>>>>> __________________________________________________________________
>>>>> ____
>>>>> 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
>>>>>
>>>>>
>>>>
>>>> :::: DataFly.Net ::::
>>>> Complete Web Services
>>>> http://www.datafly.net
>>>>
>>>>
>>>> ___________________________________________________________________
>>>> ___
>>>> 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
>>>>
>>>>
>>>
>>> :::: DataFly.Net ::::
>>> Complete Web Services
>>> http://www.datafly.net
>>>
>>>
>>> ____________________________________________________________________
>>> __
>>> 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
>
>
> ______________________________________________________________________
> 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