Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Multiple file support in IDEA plugin
Multiple file support in IDEA plugin [message #1743607] Fri, 16 September 2016 21:14 Go to next message
Eric Salemi is currently offline Eric SalemiFriend
Messages: 35
Registered: September 2016
Location: Belgium
Member
Hi,

Today I managed to generate an IDEA plugin and basic features are working as expected inside a single file (syntax highlight, suggestion, validation, etc.). If I create a second file in the same module, then I cannot make the cross-referencing work.

What part of the framework should I tweak to get multiple-file cross-referencing work in an IDEA plugin?
Re: Multiple file support in IDEA plugin [message #1743613 is a reply to message #1743607] Sat, 17 September 2016 06:21 Go to previous messageGo to next message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 13882
Registered: July 2009
Senior Member
Can you please share a small reproducing sample project.
I often see people having this problem but I never have it.
Please share the model project as well

Make sure the model project has the dsl facet


Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Multiple file support in IDEA plugin [message #1743615 is a reply to message #1743613] Sat, 17 September 2016 06:43 Go to previous messageGo to next message
Christian Dietrich is currently online Christian DietrichFriend
Messages: 13882
Registered: July 2009
Senior Member
p.s: i tested with ideaVersion = '162.646.4'

Need professional support for Xtext, Xpand, EMF?
Go to: https://www.itemis.com/en/it-services/methods-and-tools/xtext
Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: Multiple file support in IDEA plugin [message #1743669 is a reply to message #1743615] Sun, 18 September 2016 17:13 Go to previous message
Eric Salemi is currently offline Eric SalemiFriend
Messages: 35
Registered: September 2016
Location: Belgium
Member
Adding the DSL facet solved the problem!
Previous Topic:appendArguments(..) generating comments instead of content
Next Topic:Localization in the IParserErrorContext
Goto Forum:
  


Current Time: Thu Apr 15 12:09:04 GMT 2021

Powered by FUDForum. Page generated in 0.01450 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top