[Language]ProposalProvider for generic IDE (VS-Code) [message #1804571] |
Thu, 28 March 2019 19:34  |
Eclipse User |
|
|
|
We have an extension for Visual Studio Code and we want to build custom content assist proposal provider.
We want to be able to generate a random UUID, when the user defines a UUID property, this UUID property is part of our grammar.
Person:
'person' name=ID '{'
'uuid'=UuidValue
'}'
for Eclipse plugins Xtext automatically generates a [Language]ProposalProvider, and all one needs to do is to overwrite a method which is named like this: complete_UuidValue
However, for generic IDE, the solution of XText seems to be very complex. All we get is a IdeContentProposalProvider , which doesnt seem to offer many good opportunities to play with or extend.
Is there any good, reliable way to achieve this, without breaking something? Thanks
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04057 seconds