douyuepi6485 2014-12-04 09:47
浏览 103
已采纳

Eclipse Orion PHP插件

So for a project I need to check if I'm able to get code completion working for Eclipse Orion (on the IBM DevOps Services WebIDE) when coding in PHP. There's a default plugin available but it only provides syntax highlighting. Code completion is the deciding factor this time.

Just googling around I've found some plugins here and there in various git repos but they seem to be for an outdated version of Orion, hence not usable here.

So, just a quick throw out if someone is using IBM DevOps Services WebIDE (or some Eclipse Orion implementation) with a PHP plugin with code-completion? Preferably a link to installation steps since I need to educate a programming class on how to set everything up from a clean slate.

  • 写回答

1条回答 默认 最新

  • duanou3868 2015-01-19 15:59
    关注

    Orion's Go language plug-in provides a straight-forward example of contributing content assist via a plugin, see http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/tree/bundles/org.eclipse.orion.client.ui/web/plugins/languages/go?id=R7_0 . To make something similar for PHP you would create a plug-in with the same shape that defines at least the "orion.edit.contentAssist" service, and then install it in your Orion/WebIDE on its Settings-Plugins page (point it at your plugin's .html file).

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 51单片机使lcd显示器开机闪烁预设字符闪烁3次需要加什么代码
  • ¥50 C# 使用DEVMOD设置打印机首选项
  • ¥15 麒麟V10 arm安装gdal
  • ¥15 想用@vueuse 把项目动态改成深色主题,localStorge里面的vueuse-color-scheme一开始就给我改成了dark,不知道什么原因(相关搜索:背景颜色)
  • ¥20 OPENVPN连接问题
  • ¥15 flask实现搜索框访问数据库
  • ¥15 mrk3399刷完安卓11后投屏调试只能显示一个设备
  • ¥100 如何用js写一个游戏云存档
  • ¥15 ansys fluent计算闪退
  • ¥15 有关wireshark抓包的问题