<i id='Mkh0C'><tr id='Mkh0C'><dt id='Mkh0C'><q id='Mkh0C'><span id='Mkh0C'><b id='Mkh0C'><form id='Mkh0C'><ins id='Mkh0C'></ins><ul id='Mkh0C'></ul><sub id='Mkh0C'></sub></form><legend id='Mkh0C'></legend><bdo id='Mkh0C'><pre id='Mkh0C'><center id='Mkh0C'></center></pre></bdo></b><th id='Mkh0C'></th></span></q></dt></tr></i><div id='Mkh0C'><tfoot id='Mkh0C'></tfoot><dl id='Mkh0C'><fieldset id='Mkh0C'></fieldset></dl></div>
      • <bdo id='Mkh0C'></bdo><ul id='Mkh0C'></ul>
    1. <small id='Mkh0C'></small><noframes id='Mkh0C'>

      <legend id='Mkh0C'><style id='Mkh0C'><dir id='Mkh0C'><q id='Mkh0C'></q></dir></style></legend>
      1. <tfoot id='Mkh0C'></tfoot>
      2. 代码完成不适用于远程文件(使用 RSE)

        Code Completion not working with remote file (with RSE)(代码完成不适用于远程文件(使用 RSE))
          <tbody id='69bgl'></tbody>
          <i id='69bgl'><tr id='69bgl'><dt id='69bgl'><q id='69bgl'><span id='69bgl'><b id='69bgl'><form id='69bgl'><ins id='69bgl'></ins><ul id='69bgl'></ul><sub id='69bgl'></sub></form><legend id='69bgl'></legend><bdo id='69bgl'><pre id='69bgl'><center id='69bgl'></center></pre></bdo></b><th id='69bgl'></th></span></q></dt></tr></i><div id='69bgl'><tfoot id='69bgl'></tfoot><dl id='69bgl'><fieldset id='69bgl'></fieldset></dl></div>

          <tfoot id='69bgl'></tfoot>

                <legend id='69bgl'><style id='69bgl'><dir id='69bgl'><q id='69bgl'></q></dir></style></legend>

              • <small id='69bgl'></small><noframes id='69bgl'>

                  <bdo id='69bgl'></bdo><ul id='69bgl'></ul>
                  本文介绍了代码完成不适用于远程文件(使用 RSE)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  什么是:

                  在主机上:
                  Windows 7的面向 PHP 开发人员的 Eclipse
                  版本:Helios Service Release 2

                  On Host machine:
                  Windows 7 Eclipse for PHP Developers
                  Version: Helios Service Release 2

                  在访客机器上:Linux debian 挤压

                  On guest machine: Linux debian squeeze

                  我想使用 RSE 在 Eclipse 中通过 SSH 编辑我的远程项目.一切都好,我在远程系统资源管理器的角度这样做:

                  I want to edit my remote project through SSH in Eclipse by using RSE. All is okay, I do so in Remote System Explorer perspective:

                  然后我进入 PHP 视角.右键单击项目->配置->添加 PHP 支持.然后按 Ctrl+Shift+SpaceCtrl+Space.没有可用的补全(代码辅助).

                  Then I go to PHP perspective. Right click on project->Configure->Add PHP Support. And press Ctrl+Shift+Space or Ctrl+Space. No completions (code assist) available.

                  好的,我发现了这个错误(2008 年)和解决方案描述(2009 年):错误 251496.我这样做了:

                  Okay I'm found this bug (at 2008) and solution description (at 2009): Bug 251496. I did so:

                  这是我对问题的解决方案:我刚刚删除了 PHPExplorer 视图中的 RemoteSystemsTempFiles 项目,然后而不是将其重新创建为 PHP 项目(新建-> PHP 项目,当然它必须是再次命名为 RemoteSystemsTempFiles).这对我有用,现在代码完成是好的,希望这会有所帮助.

                  Here's my solution to the problem: I just deleted the RemoteSystemsTempFiles project in the PHPExplorer View and than recreated it as a PHP Project (New->PHP Project, ofcourse it has to be named again RemoteSystemsTempFiles). This worked for me, now code completion is ok, hope this helps.

                  它不能解决问题.因为 PHP 语言库没有核心 API 可能......帮助.谢谢.

                  It does not solve the problem. Because PHP Language library does not have Core API maybe... Help. Thanks.

                  推荐答案

                  PHP 项目(类、函数...)的自动补全:

                  我发现将以下几行添加到 .project 确实解决了 PHP 项目本身的类的自动完成问题,但不适用于原生 PHP 函数:

                  Autocompletion for the PHP project (classes, functions...):

                  I found that adding the folowing lines to the .project did solve the autocompletion issue for the classes of the PHP project itself but did not work with native PHP functions:

                  <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
                  <nature>org.eclipse.php.core.PHPNature</nature>
                  

                  我找到了解决办法:

                  你必须去你的eclipse配置文件夹并找到PHP语言文件夹:

                  You have to go to your eclipse configuration folder and find the PHP language folder:

                  在我的例子中:C:Program FilesEclipseSF2configurationorg.eclipse.osgiundles2761.cpResourceslanguagephp5.3

                  那么你可以:

                  • 右键单击你的eclipse项目的根目录,
                  • 然后去构建路径
                  • 链接来源
                  • 浏览:并链接到该文件夹...

                  这允许本地 PHP 函数的自动完成!

                  This allows the autocompletion for native PHP function!

                  对于使用 Symfony 框架的人,您可以在 .project 文件中添加以下行:

                  For people using the Symfony framework you can add to your .project file the following lines:

                  <buildCommand>
                          <name>com.dubture.symfony.core.symfonyBuilder</name>
                          <arguments>
                          </arguments>
                  </buildCommand>
                  

                  这篇关于代码完成不适用于远程文件(使用 RSE)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)
                  Eclipse gets stuck when trying to launch Android app(Eclipse 在尝试启动 Android 应用程序时卡住了)
                  Eclipse: Failed to initialize Monitor Thread: Unable to establish loopback connection(Eclipse:无法初始化监视器线程:无法建立环回连接)
                  Eclipse- JDK not found(Eclipse-找不到JDK)
                  How to make Eclipse behave well in the Windows 7 taskbar?(如何让 Eclipse 在 Windows 7 任务栏中表现良好?)
                  FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197)(本机方法中的致命错误:JDWP 未初始化传输,jvmtiError=AGENT_ERROR_TRANSPORT_INIT(197))
                        <tfoot id='j6tdx'></tfoot>
                          <tbody id='j6tdx'></tbody>
                          <bdo id='j6tdx'></bdo><ul id='j6tdx'></ul>
                          • <small id='j6tdx'></small><noframes id='j6tdx'>

                            <i id='j6tdx'><tr id='j6tdx'><dt id='j6tdx'><q id='j6tdx'><span id='j6tdx'><b id='j6tdx'><form id='j6tdx'><ins id='j6tdx'></ins><ul id='j6tdx'></ul><sub id='j6tdx'></sub></form><legend id='j6tdx'></legend><bdo id='j6tdx'><pre id='j6tdx'><center id='j6tdx'></center></pre></bdo></b><th id='j6tdx'></th></span></q></dt></tr></i><div id='j6tdx'><tfoot id='j6tdx'></tfoot><dl id='j6tdx'><fieldset id='j6tdx'></fieldset></dl></div>

                            <legend id='j6tdx'><style id='j6tdx'><dir id='j6tdx'><q id='j6tdx'></q></dir></style></legend>