Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pdt-dev] How to make code assist of functions automatically?

Xell Zhang pisze:
Thank you very much for your reply. I am eager to see that feature~

Did you notice my second problem? I think there is something wrong when PDT analyzes the source code of Drupal.
e.g. $result = db_query("SELECT * FROM {users} WHERE id = $uid");
In Drupal this is correct since there will be a pretreatment for this SQL. But in PDT there will be build errors for this situation.

Do you have any idea of this?

On 7/3/07, *Guy Gurfinkel* <guy.g@xxxxxxxx <mailto:guy.g@xxxxxxxx>> wrote:

    I have submitted a bug for Eclipse platform concerning this issue
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=169954

    The bug was resolved for the next Eclipse version (3.4/4.0) – so
    this issue will be solved for php files then.

    Guy Gurfinkel,

    Team Leader, Development Tools

    Zend.

    ------------------------------------------------------------------------

    *From:* pdt-dev-bounces@xxxxxxxxxxx
    <mailto:pdt-dev-bounces@xxxxxxxxxxx> [mailto:
    pdt-dev-bounces@xxxxxxxxxxx <mailto:pdt-dev-bounces@xxxxxxxxxxx>]
    *On Behalf Of *Xell Zhang
    *Sent:* Tuesday, July 03, 2007 3:54 PM
    *To:* pdt-dev@xxxxxxxxxxx <mailto:pdt-dev@xxxxxxxxxxx>
    *Subject:* [pdt-dev] How to make code assist of functions
    automatically?

    Hello, everyone. I am using PDT to develop a web site based on
    Drupal (hope you know it). Before this I use Zend studio. It's
    good but not free. Now I convert to PDT and it seems that
    everything is not bad:)

    But I have a problem. In Zend studio when you type a letter, all
    functions start with this letter will be listed automatically. I
    like this very much. But in PDT I have to use a shortcut to get
    the list (seems Alt + "/" by default). I have tried to change some
    settings in PDT but did not get it work. I found some where I can
    add the trigger but it is too short that only supports 4
    letters/symbols so I cannot give 26 letters...

    Is there anyway to get it automatic?

    BTW: another problem is there are many build errors for some
    Drupal core files. They are definitely correct. So does this mean
    some improvements are needed for PDT?


    _______________________________________________
    pdt-dev mailing list
    pdt-dev@xxxxxxxxxxx <mailto:pdt-dev@xxxxxxxxxxx>
    https://dev.eclipse.org/mailman/listinfo/pdt-dev


------------------------------------------------------------------------

_______________________________________________
pdt-dev mailing list
pdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pdt-dev
I have tried Aptana Php Editor (last nightly) and in this editor eclipse automatically show code assist only built in php function (doesnt help with user functions and variables ) but it is possible so you can make something similar.


Back to the top