Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » JDT Core code assist
JDT Core code assist [message #1826852] Sat, 02 May 2020 16:00
Ryszard Trojnacki is currently offline Ryszard TrojnackiFriend
Messages: 1
Registered: May 2020
Junior Member
Hello,

I want to use JDT to perform code assist, to use it for ACE code editor.
I want to create simple Java Web Editor with code assists.
ACE has option to code completion:
getCompletions: function(editor, session, pos, prefix, callback)

I want send this back to java server and return possible options back to ACE.

I found documentation:
https://help.eclipse.org/2020-03/topic/org.eclipse.jdt.doc.isv/guide/jdt_api_codeassist.htm?cp=3_0_0_6
But I don't know to use it.

How can I programmatically create ICompilationUnit for a simple java code (no dependencies just JRE, no other classes, just one file project).
Previous Topic:How to change default generic type from E to T
Next Topic:How to search all references of a method ???
Goto Forum:
  


Current Time: Mon Nov 04 09:27:35 GMT 2024

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

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

Back to the top