Prioritize a Configuration Producer?
I am introducing a new RuntimeConfigurationProducer with my plugin that for certain files is a candidate for configuration along with another configuration producer bundled with IntelliJ. I would like to prioritize my plugin's producer over the existing one, but the existing producer returns a priority of PREFERRED in its compareTo implementation and because it is registered first it is ultimately the producer used. I cannot find any other way to prioritize my producer; can anyone point me in the right direction?
Thanks!
Please sign in to leave a comment.
Hello Don,
Probably the easiest thing to do is to specify order="first" in the declaration
of your extension in plugin.xml.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Worked like a charm!