Is it possible to create multiple Eclipse UI editors for one extension (example: .mydsl)? I'd like to have one editor that is syntax highlighting only and one editor that also is tied to the JVM Inference code generation. I tried creating a separate plugin project and copying over my grammar, but it seems the two plugin projects are fighting each other and I can no longer trigger the JVM Inference logic from my original plugin with that approach.

Follow up: I see now the second plugin was producing an error which prevented the original plugin from running the JVM model inference. The plugins are playing nicer together now, but I still think I am approaching this wrong. Can I create two separate xtext models for the same file extension without interfering with each other?

I have a working JVM model inference generator, but it is a little slow. I had an idea to create a second editor view that is just dumb syntax highlighting (no code generator, type checking, etc.). I did this by creating an entirely new xtext project with a different namespace but the same file extension. What I have now seems to work more or less, but I'm not clear on the XText lifecycle for two xtext projects sharing the same extension. I noticed that the AST of one project is affected by the second project, which I did not expect.

Your response makes me think this is not going to be a good route to pursue. Thanks!

Thanks I think the plugin.xml file was the lead I needed, the second plugin was contributing features I didn't want which were clashing! The idea of the two views was a dumb/fast editor (an interim solution until I fix the underlying slowness issues) and a slower but more complete editor view with all the standard features view.