So I got this thing setup and working nicely, but I'm having one problem. I can't get code completion to work. I press the hot key for the snippet "opt+escape" and I've tried clicking the option from the menu bar. However each time I do it in just inserts an empty pair of parentheses rather than inserting the parentheses full of code completed information. Anyone know how to fix this? Thanks!
On 31.10.2006, at 10:27, slazareth@comcast.net wrote:
So I got this thing setup and working nicely, but I'm having one problem. I can't get code completion to work. I press the hot key for the snippet "opt+escape" and I've tried clicking the option from the menu bar. However each time I do it in just inserts an empty pair of parentheses rather than inserting the parentheses full of code completed information. Anyone know how to fix this? Thanks!
I fixed this and committed it, about 9 hours ago or so. It seems the command was quite outdated orsomething. Just [get it from the repository][1] and it should work.
Soryu.
[1]: http://macromates.com/textmate/manual/bundles#getting_more_bundles
I have updated the bundle and its still not working. Are you sure your modifications have made it to the repository on the server?
On Oct 31, 2006, at 8:16 AM, Soryu wrote:
On 31.10.2006, at 10:27, slazareth@comcast.net wrote:
So I got this thing setup and working nicely, but I'm having one problem. I can't get code completion to work. I press the hot key for the snippet "opt+escape" and I've tried clicking the option from the menu bar. However each time I do it in just inserts an empty pair of parentheses rather than inserting the parentheses full of code completed information. Anyone know how to fix this? Thanks!
I fixed this and committed it, about 9 hours ago or so. It seems the command was quite outdated orsomething. Just [get it from the repository][1] and it should work.
Soryu.
bundles#getting_more_bundles
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 31.10.2006, at 21:27, slazareth@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
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@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@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
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@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@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@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
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@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@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@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@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
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@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@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@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@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@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@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
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!
-- Casey
On Nov 1, 2006, at 1:51 AM, slazareth@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@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@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@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@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@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@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@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
On 01.11.2006, at 08:32, slazareth@comcast.net wrote:
I FIXED IT!
Hey there,
Just got up. I will look into it after work tonight and might commit it to the repository if it works. The Insert Snippet Command for me also only inserted parens and commas, though tabbing through them worked, like a snippet. That is what I called 'fixed'. The arguments (snippet placeholders) seem to have not been meaningful anyway (such as arg1, arg2?) but I could be mistaken there. As far as I recall from using the bundle quite some time ago, you complete a function with Escape and then trigger the insert snippet command only for the arguments.
Until tonight (10 AM here), Soryu.
The placeholders are of value to me. Just incase I forget the order of something. For instance, str_replace was "str_replace(, , )" now it's "str_replace($search, $replace, $subject)" I personally find this nice and helpful. I could be alone on that though.
On Nov 1, 2006, at 4:00 AM, Soryu wrote:
On 01.11.2006, at 08:32, slazareth@comcast.net wrote:
I FIXED IT!
Hey there,
Just got up. I will look into it after work tonight and might commit it to the repository if it works. The Insert Snippet Command for me also only inserted parens and commas, though tabbing through them worked, like a snippet. That is what I called 'fixed'. The arguments (snippet placeholders) seem to have not been meaningful anyway (such as arg1, arg2?) but I could be mistaken there. As far as I recall from using the bundle quite some time ago, you complete a function with Escape and then trigger the insert snippet command only for the arguments.
Until tonight (10 AM here), Soryu.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Nope, I'm with you. I'm _always_ hitting php docs to clarify the order of parameters.
"Is it haystack, needle or needle, haystack?" === ~Adam
On Nov 1, 2006, at 9:34 AM, slazareth@comcast.net wrote:
The placeholders are of value to me. Just incase I forget the order of something. For instance, str_replace was "str_replace(, , )" now it's "str_replace($search, $replace, $subject)" I personally find this nice and helpful. I could be alone on that though.
On Nov 1, 2006, at 4:00 AM, Soryu wrote:
On 01.11.2006, at 08:32, slazareth@comcast.net wrote:
I FIXED IT!
Hey there,
Just got up. I will look into it after work tonight and might commit it to the repository if it works. The Insert Snippet Command for me also only inserted parens and commas, though tabbing through them worked, like a snippet. That is what I called 'fixed'. The arguments (snippet placeholders) seem to have not been meaningful anyway (such as arg1, arg2?) but I could be mistaken there. As far as I recall from using the bundle quite some time ago, you complete a function with Escape and then trigger the insert snippet command only for the arguments.
Until tonight (10 AM here), Soryu.
_ For new threads USE THIS: textmate@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@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate