Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Adding Content Assist to Xtext Gradle Project(Adding Content Assist Feature to a Xtext Gradle project to Extend Theia)
Adding Content Assist to Xtext Gradle Project [message #1799888] Mon, 17 December 2018 06:28 Go to next message
P J is currently offline P JFriend
Messages: 64
Registered: October 2018
Member
Hi,
I'm trying to create a fatJar to extend Theia with a DSL created using Xtext. For this, I'm using a Xtext project with Gradle. Therefore, I only have the main directory and *.ide directory.
My question is, How do I edit the content assist features in such a project? AFAIK, lsp4j provides support in such features and the lsp4j configuration of the fatJar is made by what I have in my Xtext project.
Could you kindly let e know how to enable and change content assist in a Xtext Gradle project so that my Theia extension will have customized content assist?

Regards.
Re: Adding Content Assist to Xtext Gradle Project [message #1799891 is a reply to message #1799888] Mon, 17 December 2018 07:09 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
I don't understand. Simply customize and bind IdeContentProposalProvider

P.sö please Note the lsp version Xtext 215 uses has a bug that is fixed in the one that Xtext 216 uses
Somyou May have to Switch to that one ass well


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Error in creating fragment for STRING
Next Topic:Differences in auto-suggest in Xtext Eclipse DSL plugins
Goto Forum:
  


Current Time: Fri Apr 19 16:16:38 GMT 2024

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

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

Back to the top