Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] Re: [pdt-dev] Extending PHP language toolkit

Hello Alex,

Thank you for the suggestion, I tried it and it works great!

Best regards,

William

On Mon, Sep 22, 2008 at 12:32 PM, Alex Panchenko <alex@xxxxxxxxx> wrote:
> Hi William,
>
> At the moment the simplest  way to go is to inherit your source parser from
> PDT source parser and register it for PHP nature but with higher priority.
> Your code will be called for all files, you should process your PHPAspect
> files and pass everything else to the super class.
>
> There are plans to extend DLTK core framework with support of the language
> extensions/dialects but they are not implemented yet.
>
> Regards,
> Alex
>
> William Candillon wrote:
>>
>> Hi Andrey,
>>
>> It's also my intuition that I don't need my own language toolkit.
>> However, when I remove the PHPAspect language toolkit I have the
>> following problem:
>> - The phpaspect content type is not recognized in the Script Explorer
>> (it's recognized in eclipse default project explore).
>> - The phpaspect files are build with php builder and not with phpaspect
>> builder.
>> Am I missing something in DLTK building model ?
>>
>> Best regards,
>>
>> William
>>
>> 2008/9/20 Andrey Platov <andrey@xxxxxxxxx>:
>>
>>>
>>> Hi William,
>>>
>>> Do you need to have your own language toolkit? For example in DLTK TCL
>>> there
>>> are ITcl and XOTcl subprojects, which extends basic IDE (and language)
>>> with
>>> Object-Oriented features. Can you please elaborate on your need for own
>>> language toolkit?
>>>
>>> Kind Regards,
>>> Andrey
>>>
>>> P.S. I'm crossposting to dltk-dev
>>>
>>>
>>> ----- Original Message -----
>>> From: "William Candillon" <wcandillon@xxxxxxxxx>
>>> To: "PDT Developers" <pdt-dev@xxxxxxxxxxx>
>>> Sent: Saturday, September 20, 2008 11:48:20 PM GMT +06:00 Almaty,
>>> Novosibirsk
>>> Subject: [pdt-dev] Extending PHP language toolkit
>>>
>>> Hello,
>>>
>>> I'm extending PDT 2.0 and my plugin defines its own language toolkit
>>> extending org.eclipse.dltk.core.AbstractLanguageToolkit.
>>> Unfortunately this disable PHP language toolkit.
>>> Is it possible to make both language toolkit to cohabit ?
>>> If a scripting project can only have one DLTK language toolkit, how
>>> can activate PHP/DLTK extension points (source parser, mixinparser
>>> etc) on my plugin project ?
>>>
>>> This issue seems important in order to extend PDT.
>>>
>>> Best regards,
>>>
>>> William
>>>
>>> --
>>> William Candillon
>>> http://apdt.googlecode.com
>>> _______________________________________________
>>> pdt-dev mailing list
>>> 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
>>>
>>>
>>>
>>
>>
>>
>>
>
> _______________________________________________
> pdt-dev mailing list
> pdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/pdt-dev
>



-- 
William Candillon
http://apdt.googlecode.com


Back to the top