tag:blogger.com,1999:blog-6255758224607466565.post4604594126734748436..comments2024-02-11T10:25:39.241+01:00Comments on Sebastian Zarnekow's Blog: Customizing Content Assist with XtextAnonymoushttp://www.blogger.com/profile/05886096380926364322noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-6255758224607466565.post-16220667603017622902016-01-25T15:39:27.868+01:002016-01-25T15:39:27.868+01:00Hi Sebastian,
do you know a good way to test a cu...Hi Sebastian,<br /><br />do you know a good way to test a customized proposal provider?<br /><br />Thanks,<br /><br />ERICConsideredTruehttps://www.blogger.com/profile/08831489440406577239noreply@blogger.comtag:blogger.com,1999:blog-6255758224607466565.post-5115460149347502782014-07-04T14:49:42.702+02:002014-07-04T14:49:42.702+02:00Hello Sebastian,
We have form based editor and xt...Hello Sebastian,<br /><br />We have form based editor and xtexteditor as Source page.<br /><br />we used embedded editor to implement the content assist feature in form pages. But it displays all the contents as proposals when 'ctrl + space' keys pressed together. We want to display field specific content assist.<br /><br />Eg: let say Source page looks:<br /><br />boardStatus = "test.bst"<br /><br />loadStatus = "test.lst"<br /><br />..... and so on<br /><br /><br />let say XYZ form page:<br /> ____________<br />boardStatus: |____________|<br /> ____________<br />loadStatus: |____________|<br /><br />we have swt text widget for each of field present in source page.<br /><br />problem:<br /><br />I want to display all the "boardStatus" files present in current working directory as proposal in form page.<br /><br />It would be great help you provide some input.<br /><br />ThanksAnonymoushttps://www.blogger.com/profile/07993478189062963703noreply@blogger.comtag:blogger.com,1999:blog-6255758224607466565.post-83900696477050873122013-07-23T10:19:34.585+02:002013-07-23T10:19:34.585+02:00in my view, content assist should be wholistic in ...in my view, content assist should be wholistic in the sense that we as developer should be given all kind of <a href="http://www.javaexperience.com/eclipse-java-and-web-content-assist/" rel="nofollow">options for languages</a> like javascript out of the box. Don't know why Eclipse is still not providing the same out of the box. It does however support syntax highlighting for javascript code.Sandeephttps://www.blogger.com/profile/14459583259453333684noreply@blogger.comtag:blogger.com,1999:blog-6255758224607466565.post-75273699720153828022011-09-30T23:00:56.606+02:002011-09-30T23:00:56.606+02:00Nice! Used this in the Spray language now.
~Karst...Nice! Used this in the Spray language now.<br /><br />~KarstenKarsten Thomshttps://www.blogger.com/profile/00789554615077130154noreply@blogger.comtag:blogger.com,1999:blog-6255758224607466565.post-34385577008511634742011-06-24T10:11:14.877+02:002011-06-24T10:11:14.877+02:00Hi Irfan,
you are right, the code snippet was sim...Hi Irfan,<br /><br />you are right, the code snippet was simplified. You have to replace ~cast~ by ConfigurableCompletionProposal and add imports, e.g. for org.eclipse.xtext.ui.editor.contentassist.ReplacementTextApplier. Organize imports will be helpful.Anonymoushttps://www.blogger.com/profile/05886096380926364322noreply@blogger.comtag:blogger.com,1999:blog-6255758224607466565.post-5388330960058037522011-06-24T09:31:25.033+02:002011-06-24T09:31:25.033+02:00(~cast~) is giving me an error,stating primitive t...(~cast~) is giving me an error,stating primitive type expected.<br />I tried to typecast this in the following way:ConfigurableCompletionProposal pickColor = <br /> (ConfigurableCompletionProposal) createCompletionProposal("Pick color...", <br /> context); <br />But after that it was giving error on the use of "ReplacementTextApplier()"..stating that it was an invalid argument.please provide the solution.<br />Thanks in advanceIrfanhttps://www.blogger.com/profile/09332249050883377712noreply@blogger.com