Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » ProposalProvider in IDEA
ProposalProvider in IDEA [message #1741503] Thu, 25 August 2016 14:34 Go to next message
Ronan Mising name is currently offline Ronan Mising nameFriend
Messages: 5
Registered: July 2009
Junior Member
Hi,
I was hoping to write a custom Proposal Provider in my IDEA/XText2.9.2 environment. It seems the ProposalProvider stubs are not generated. Is this a known limitation with IDEA 2016.2/XText2.9.2? I have also noted that some files in the .idea projects don't compile e.g. MyDslCompletionContributor and MyDslFileType
Thanks!
Re: ProposalProvider in IDEA [message #1741514 is a reply to message #1741503] Thu, 25 August 2016 14:47 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13887
Registered: July 2009
Senior Member
do you have a gradle intregration in eclipse? if not run gradle eclipse on command line and refresh in eclipse

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: ProposalProvider in IDEA [message #1741516 is a reply to message #1741514] Thu, 25 August 2016 14:50 Go to previous messageGo to next message
Ronan Mising name is currently offline Ronan Mising nameFriend
Messages: 5
Registered: July 2009
Junior Member
Hi Christian,
I'm running IntelliJ instead of Eclipse. I can see the ProposalProvider in Eclipse but that isn't the desired development environment for the current project i'm working on. Is it a bug perhaps?
Thanks!
Re: ProposalProvider in IDEA [message #1741519 is a reply to message #1741516] Thu, 25 August 2016 14:56 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 13887
Registered: July 2009
Senior Member
gradle and or your gradle integration in whatever should set the correct classpath.
there is no proposal provider in idea, it is a eclipse thingy

MyDslCompletionContributor is the idea thingy

unfortunately i have no idea how the api works (maybe looking at XtendCompletionContributor and superclasses may give you an idea)


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: ProposalProvider in IDEA [message #1741584 is a reply to message #1741519] Fri, 26 August 2016 06:45 Go to previous message
Ronan Mising name is currently offline Ronan Mising nameFriend
Messages: 5
Registered: July 2009
Junior Member
Thanks for the quick help. In fact a quick refresh of the gradle projects in IDEA cuased everthing to build correctly. I see other people had the same issue before on the forum so my bad for not seeing it.
Previous Topic:problem with my org.eclipse.xtext.generator.parser.packrat.PackratParserFragment
Next Topic:Xtext: How to active hyperlink?
Goto Forum:
  


Current Time: Wed Apr 21 02:48:01 GMT 2021

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

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

Back to the top