douleijiang8111 2014-10-16 17:46
浏览 209
已采纳

是否有任何Sublime Text导入php类的解决方案? 类似于Netbeans上的“快速导入”?

As a php developer i need to instantiate classes all the time. By doing this i need to include or require these classes.

I am used to Netbeans IDE where i can easily use the "fast import" option (alt+shift+i). It allows me to use include or require to import classes.

I'm trying Sublime for now and it's been great until now, but the lack of this option makes me upset.

Is there any solution for Sublime Text to import php classes?

  • 写回答

1条回答 默认 最新

  • douzhanshen0657 2015-07-05 02:45
    关注

    PHP companion package is what you need, you can import classes, insert namespaces, go to method definition with these package. Search for php companion in package control if you have that installed or visit the package repo for more details https://github.com/erichard/SublimePHPCompanion

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

报告相同问题?

悬赏问题

  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看