简体   繁体   English

OXID eShop - Eclipse中的自动完成功能

[英]OXID eShop - Autocompletion in Eclipse

I want to use Eclipse Kepler to handle my OXID eShop project. 我想使用Eclipse Kepler来处理我的OXID eShop项目。

Until now i can't figure out how to setup my php-project so that the oxid classes are used for auto.completion/suggestion. 到目前为止,我无法弄清楚如何设置我的php项目,以便氧化类用于auto.completion / suggestion。

Surprisingly, there is a module for that: https://github.com/DSB/Oxid-Module-IDE-Helper 令人惊讶的是,有一个模块: https//github.com/DSB/Oxid-Module-IDE-Helper

I tried this before, and it worked for me. 我之前试过这个,它对我有用。

Ok, after some tries i figured it out 好吧,经过一些尝试,我想通了

  1. disabled "automatic build" 禁用“自动构建”
  2. clean project 干净的项目
  3. add "application" to include path 添加“应用程序”以包含路径
  4. enable "automatic build" 启用“自动构建”
  5. let the project build 让项目建立
  6. enjoy autocomplete 享受自动完成功能

you can't , because the oxid parent class is yourclass_parent 你不能,因为氧化父类是yourclass_parent

If you want to see in eclipse you need to add in modules/function.php line for each class that you create: 如果你想在eclipse中看到你需要为你创建的每个类添加modules / function.php行:

Class yourclass_parent expand ox_oxid_class 类yourclass_parent展开ox_oxid_class

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM