28

I wish to add auto-complete with documentation for Laravel in Aptana 3.0

Tough I managed to create auto-complete (just by mapping a few methods in it)

https://github.com/danielboendergaard/laravel-helpers/blob/9798026ede3722d6a9570684e987f7ed81b41013/ide_helper.php

This doesn't seem to be quite effective, how to we add method documentation for it too?

Paras Joshi
  • 20,427
  • 11
  • 57
  • 70
Akash
  • 4,956
  • 11
  • 42
  • 70
  • I too would like to know how to do this... – David Barker Jul 17 '12 at 17:18
  • What about method documentation does not work? That file should enable that. – Franz Jul 17 '12 at 20:40
  • It does to an extent Franz, I did some digging into this yesterday. Aptana recognises the parameters required for a static function call but does not recognise the method names. I think its more to do with how Laravel instantiates the static methods, than lack of documentation. – David Barker Jul 19 '12 at 12:16
  • @DavidBarker is this still an issue? Looking at the current [ide_helper.php](https://github.com/danielboendergaard/laravel-helpers/blob/master/ide_helper.php) you've made some great progress on this. I only ask because this is quite a highly voted for, unanswered question. – Phill Sparks Apr 09 '13 at 18:59
  • @DavidBarker - I think you're right. Static calls in Laravel 4 are resolved via the Facade system, and I'm not sure if Aptana would follow this properly. Technically, Aptana is correct, but it's using the wrong class in the case of facade implementation, and I'm not sure how easy that will be to resolve. – Oddman Jun 02 '13 at 22:20

2 Answers2

1

There are a couple of helpers currently available on Github for Laravel 4. If this is still an issue with Aptana I would suggest using this package: https://github.com/barryvdh/laravel-ide-helper

I use Eclipse, and it really helped me.

Remluben
  • 1,613
  • 2
  • 16
  • 21
0

You can just add the generated file barryvdh / _ide_helper.php to your project in Aptana.

MTVS
  • 2,046
  • 5
  • 26
  • 37