I haven't been editing any PHP for several weeks so not sure when it stopped working but I use the "out of the box" PHP bundle which has a *doc* autocomplete that now is giving the following error:
[image: Inline images 1]
As far as I know I haven't made any changes. Is there any way I can get this back to working? I use this function all the time.
Ken
Did you update to Mavericks? The new Ruby default is 2.0.0 instead of 1.8.7 so some APIs have undoubtedly changed and String#to_a may no longer be available. Beyond that, not sure.
Parker Moore
Am 01.11.2013 um 21:59 schrieb Ken Snyder ken+textmate@ken.net:
I haven't been editing any PHP for several weeks so not sure when it stopped working but I use the "out of the box" PHP bundle which has a *doc* autocomplete that now is giving the following error:
<image.png>
As far as I know I haven't made any changes. Is there any way I can get this back to working? I use this function all the time.
Ken
_______________________________________________ textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Ahhh. Yes I did update to Mavericks. Timing makes sense. Will the default PHP bundle be updated accordingly? Is there a way to regress the Ruby default?
Ken
On 2 November 2013 02:14, Parker Moore parkrmoore@gmail.com wrote:
Did you update to Mavericks? The new Ruby default is 2.0.0 instead of 1.8.7 so some APIs have undoubtedly changed and String#to_a may no longer be available. Beyond that, not sure.
Parker Moore
Am 01.11.2013 um 21:59 schrieb Ken Snyder ken+textmate@ken.net:
I haven't been editing any PHP for several weeks so not sure when it stopped working but I use the "out of the box" PHP bundle which has a *doc* autocomplete that now is giving the following error:
<image.png>
As far as I know I haven't made any changes. Is there any way I can get this back to working? I use this function all the time.
Ken
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On Nov 1, 2013, at 9:35 PM, Ken Snyder ken+textmate@ken.net wrote:
Ahhh. Yes I did update to Mavericks. Timing makes sense. Will the default PHP bundle be updated accordingly? Is there a way to regress the Ruby default?
We are recommending you upgrade to the 2.0 alpha for Mavericks:
http://macromates.com/download
It includes updated bundles to work around this issue as well as many other fixes and additions.
I'm used 2.0-alpha.9493 (and have been on the 2.x branch for a very long time). Is that not what you're referring to?
On 2 November 2013 10:41, Michael Sheets mummer@whitefalls.org wrote:
On Nov 1, 2013, at 9:35 PM, Ken Snyder ken+textmate@ken.net wrote:
Ahhh. Yes I did update to Mavericks. Timing makes sense. Will the
default PHP bundle be updated accordingly? Is there a way to regress the Ruby default?
We are recommending you upgrade to the 2.0 alpha for Mavericks:
http://macromates.com/download
It includes updated bundles to work around this issue as well as many other fixes and additions.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Also, for what it's worth, I looked under the Bundles properties and see that the PHP bundle was updated last week.
[image: Inline images 1]
I would have thought/hoped that this would have picked up Mavericks/Ruby incompatibilities.
Ken
On 2 November 2013 11:14, Ken Snyder ken+textmate@ken.net wrote:
I'm used 2.0-alpha.9493 (and have been on the 2.x branch for a very long time). Is that not what you're referring to?
On 2 November 2013 10:41, Michael Sheets mummer@whitefalls.org wrote:
On Nov 1, 2013, at 9:35 PM, Ken Snyder ken+textmate@ken.net wrote:
Ahhh. Yes I did update to Mavericks. Timing makes sense. Will the
default PHP bundle be updated accordingly? Is there a way to regress the Ruby default?
We are recommending you upgrade to the 2.0 alpha for Mavericks:
http://macromates.com/download
It includes updated bundles to work around this issue as well as many other fixes and additions.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Sorry for yet another email on this topic but I was looking on GitHub and the only commit in the past few months that seemed immediately relevant to this issue is this one from July:
[image: Inline images 1]
I don't see anything more current which would correct this position now that Mavericks is out. Are we "out of support" for PHP in Textmate when upgrading to Mavericks? :(
Ken
On 2 November 2013 11:18, Ken Snyder ken+textmate@ken.net wrote:
Also, for what it's worth, I looked under the Bundles properties and see that the PHP bundle was updated last week.
[image: Inline images 1]
I would have thought/hoped that this would have picked up Mavericks/Ruby incompatibilities.
Ken
On 2 November 2013 11:14, Ken Snyder ken+textmate@ken.net wrote:
I'm used 2.0-alpha.9493 (and have been on the 2.x branch for a very long time). Is that not what you're referring to?
On 2 November 2013 10:41, Michael Sheets mummer@whitefalls.org wrote:
On Nov 1, 2013, at 9:35 PM, Ken Snyder ken+textmate@ken.net wrote:
Ahhh. Yes I did update to Mavericks. Timing makes sense. Will the
default PHP bundle be updated accordingly? Is there a way to regress the Ruby default?
We are recommending you upgrade to the 2.0 alpha for Mavericks:
http://macromates.com/download
It includes updated bundles to work around this issue as well as many other fixes and additions.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Hi all,
The Align bundle "Align Source” command is not working under Mavericks.
I tried the -K trick to get 1.8 compatibility, but the error fails trying to create the trim_all_whitespace function on the “to_a” text fn ???
def trim_all_whitespace(text) text.to_a.map do |line| left_spacing(line) + line.squeeze(" ").squeeze(" ").lstrip #the 2. is a tab end.join end
So I’m guessing something’s breaking.
On 2 Nov 2013, at 11:24 AM, Ken Snyder ken+textmate@ken.net wrote:
Sorry for yet another email on this topic but I was looking on GitHub and the only commit in the past few months that seemed immediately relevant to this issue is this one from July:
<image.png>
I don't see anything more current which would correct this position now that Mavericks is out. Are we "out of support" for PHP in Textmate when upgrading to Mavericks? :(
Ken
On 2 November 2013 11:18, Ken Snyder ken+textmate@ken.net wrote: Also, for what it's worth, I looked under the Bundles properties and see that the PHP bundle was updated last week.
<image.png>
I would have thought/hoped that this would have picked up Mavericks/Ruby incompatibilities.
Ken
On 2 November 2013 11:14, Ken Snyder ken+textmate@ken.net wrote: I'm used 2.0-alpha.9493 (and have been on the 2.x branch for a very long time). Is that not what you're referring to?
On 2 November 2013 10:41, Michael Sheets mummer@whitefalls.org wrote: On Nov 1, 2013, at 9:35 PM, Ken Snyder ken+textmate@ken.net wrote:
Ahhh. Yes I did update to Mavericks. Timing makes sense. Will the default PHP bundle be updated accordingly? Is there a way to regress the Ruby default?
We are recommending you upgrade to the 2.0 alpha for Mavericks:
http://macromates.com/download
It includes updated bundles to work around this issue as well as many other fixes and additions.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Sorry: OK, easy fix…
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -wKU
On 2 Nov 2013, at 11:24 AM, Ken Snyder ken+textmate@ken.net wrote:
Sorry for yet another email on this topic but I was looking on GitHub and the only commit in the past few months that seemed immediately relevant to this issue is this one from July:
<image.png>
I don't see anything more current which would correct this position now that Mavericks is out. Are we "out of support" for PHP in Textmate when upgrading to Mavericks? :(
Ken
On 2 November 2013 11:18, Ken Snyder ken+textmate@ken.net wrote: Also, for what it's worth, I looked under the Bundles properties and see that the PHP bundle was updated last week.
<image.png>
I would have thought/hoped that this would have picked up Mavericks/Ruby incompatibilities.
Ken
On 2 November 2013 11:14, Ken Snyder ken+textmate@ken.net wrote: I'm used 2.0-alpha.9493 (and have been on the 2.x branch for a very long time). Is that not what you're referring to?
On 2 November 2013 10:41, Michael Sheets mummer@whitefalls.org wrote: On Nov 1, 2013, at 9:35 PM, Ken Snyder ken+textmate@ken.net wrote:
Ahhh. Yes I did update to Mavericks. Timing makes sense. Will the default PHP bundle be updated accordingly? Is there a way to regress the Ruby default?
We are recommending you upgrade to the 2.0 alpha for Mavericks:
http://macromates.com/download
It includes updated bundles to work around this issue as well as many other fixes and additions.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 02 Nov 2013, at 02:59, Ken Snyder ken+textmate@ken.net wrote:
I haven't been editing any PHP for several weeks so not sure when it stopped working but I use the "out of the box" PHP bundle which has a doc autocomplete that now is giving the following error: […]
Can you provide steps to reproduce (should make it easier to test and potentially fix)?
Sure, here are the steps:
- Create a new PHP document - Add the following:
<?php
class SomeClass {
}
- Now place the cursor after the '<?php' line and insert a carriage return - On the new blank line type: 'doc' and press TAB
Problem recreated. :)
Ken
On 2 November 2013 12:49, Allan Odgaard mailinglist@textmate.org wrote:
On 02 Nov 2013, at 02:59, Ken Snyder ken+textmate@ken.net wrote:
I haven't been editing any PHP for several weeks so not sure when it
stopped working but I use the "out of the box" PHP bundle which has a doc autocomplete that now is giving the following error: […]
Can you provide steps to reproduce (should make it easier to test and potentially fix)?
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 02 Nov 2013, at 19:40, Ken Snyder ken+textmate@ken.net wrote:
Sure, here are the steps: […] type: 'doc' and press TAB
This does not error for me (on 10.9).
You can look at the source of the command in the bundle editor, if it doesn’t mention 1.8 in the shebang, you probably want to look for a local PHP bundle, see https://github.com/textmate/textmate/wiki/Reverting-To-Defaults for locations.