[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] Want to understand how "language editor" plugins spawn project builds

Eclipse cannot the relationship between your yang files and how they're supposed to be compiler. Such behaviour of "propagating" compilation has to be implemented by your support for Yang. I believe the right approach may be a Project Builder that would listen to changes, recompile files with the change, and compute which other files can be affected and rebuild them if necessary. For a 1st iteration, if it doesn't cause too bad user experience, you can simply rebuild all your files whenever one is changed...

This page gives details about builders, and more specifically about the JDT one (in the yellow area). https://eclipse.org/articles/Article-Builders/builders.html

HTH
--
Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets