You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to implement a code editor using the richtextfx codearea. The source code parsing is working properly, I managed to do the code analysis for diverse syntax and other errors.
However I would like to have code completion also. But I could not find out, how can I set up the environment, that I can get code completion proposal list at the specified position in the source code. I see the JDT can handle this, but as far as my investigations showed me, its only available when started from OSGI environment and properly initialized an Eclipse workspace.
Is there any way to do it without eclipse workspace and OSGI environment, just using the ASTParser or some light weight initialization or classes to provide code completion?
This discussion was converted from issue #3858 on March 26, 2025 15:28.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Hi!
I am trying to implement a code editor using the richtextfx codearea. The source code parsing is working properly, I managed to do the code analysis for diverse syntax and other errors.
However I would like to have code completion also. But I could not find out, how can I set up the environment, that I can get code completion proposal list at the specified position in the source code. I see the JDT can handle this, but as far as my investigations showed me, its only available when started from OSGI environment and properly initialized an Eclipse workspace.
Is there any way to do it without eclipse workspace and OSGI environment, just using the ASTParser or some light weight initialization or classes to provide code completion?
Thank you!
All reactions