dty98339
2019-06-14 13:40
浏览 86
已采纳

Atom - IDE包 - 查找引用不起作用(PHP)

  1. I have Atom editor installed (Version 1.37.0)
  2. Installed the package atom-ide-ui
  3. Installed the package ide-php

Now I go into my PHP file and make right-click on a class and chose "Find References"

use Laravel\Nova\Fields\Text;

Instead of opening a panel/window and displaying references, Atom shows a warning popup with this message:

Find References: Symbol references are not available for this project.

The only suggestion I found fixing this is by installing the ide-php package, what I already did. Restarted Atom results with same warning message displayed.

Any ideas how to get "Show References" running?

图片转代码服务由CSDN问答提供 功能建议

  1. 我安装了Atom编辑器(版本1.37.0)
  2. 安装包 atom-ide-ui
  3. 安装包 ide-php

    现在我进入我的PHP文件并右键单击一个类并选择“查找引用”

     使用Laravel \ Nova \ Fields \ Text; 
     <  / code>  
     
     

    Atom显示一条带有此消息的警告弹出窗口,而不是打开面板/窗口并显示引用:

    查找引用:符号引用不适用于此项目。

    我发现修复此问题的唯一建议是安装ide-php软件包,我已经做了。 重新启动Atom结果并显示相同的警告消息。

    任何想法如何让“显示参考”运行?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • douchun3680 2019-06-17 07:21
    已采纳

    Restarting my notebook did the trick. I probably didn't restart Atom properly to make the new packages work ¯\_(ツ)_/¯

    If you want to make Go to Declaration work you haver to generate symbols first: here how to.

    点赞 打赏 评论

相关推荐 更多相似问题