在 Aptana 中添加 Laravel 支持

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/11199710/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-14 07:22:55  来源:igfitidea点击:

Add Laravel Support in Aptana

phplaravelaptana3

提问by Akash

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

我希望添加自动完成文档 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

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?

这似乎不是很有效,我们如何为其添加方法文档?

回答by Remluben

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

目前在 Github 上有几个 Laravel 4 的帮助程序。如果这仍然是 Aptana 的问题,我建议使用这个包:https: //github.com/barryvdh/laravel-ide-helper

I use Eclipse, and it really helped me.

我使用 Eclipse,它真的帮助了我。

回答by MTVS

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

您可以将生成的文件barryvdh / _ide_helper.php添加到您在 Aptana 中的项目中。