Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] Notify dependencies after edit

Hi Alex,

Thank you for explaination, now I know how it work.
I have to record these changes directly in PDT (PDT only replacing compiler AST in IBuildParticipant) or in external plugin.

--
Dawid Pakuła 
+48 795 996 064

Od: Alexey Panchenko Alexey Panchenko
Odpowiedz: DLTK Developer Discussions dltk-dev@xxxxxxxxxxx
Data: 14 grudnia 2013 at 12:49:00
Do: DLTK Developer Discussions dltk-dev@xxxxxxxxxxx
Temat:  Re: [Dltk-dev] Notify dependencies after edit
Hi Dawid,

This notification should happen automatically - build participants are called for the depending modules as well.
There are flags for the type of dependency - i.e. if depending module should be processed on structural changes only (like method/field declaration change, but ignore internal changes in method bodies) or always (e.g. when file content is included).

Structure only changes could be reported via IBuildState.recordStructuralChange(IPath) 

If you think something does not as expected, could you provide more details or a complete example, so I can check it?

Regards,
Alex


On Sat, Dec 14, 2013 at 12:19 PM, Dawid Pakuła <zulus@xxxxxxxxx> wrote:
Hi,

in IBuildParticipant I can record dependencies. Is this possible to use them and after SourceModule change notify all depending?

I’m asking, because I want for example revalidate all files after php class/interface/trait change, like in JDT. 

--
Dawid Pakuła 

_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev


_______________________________________________
dltk-dev mailing list
dltk-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dltk-dev

Back to the top