Summary: | Provide a public, extendable API for Java snippet code completion | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Fred Wilson <whitepaper234> |
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
Status: | VERIFIED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | martinae, Olivier_Thomann, thatnitind |
Version: | 3.3 | Keywords: | needinfo |
Target Milestone: | 3.5 M2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Fred Wilson
2006-10-15 19:06:22 EDT
You have to elaborate: What do you try to achive? Do you have an own view and want to offer code completion? Is the normal code completion API not good enough? Moving to Darin who knows more about snippets and the breakpoint editor. Darin, are you using internal jdt.core API? The debugger is *not* using internal JCORE api's. See JavaDebugContentAssistProcessor - we use IType.codeComplete(...) API. We use some internal JUI API to get templates and parameters to appear the same in the debugger as in the Java editor. Marking as remind for more input. Our product requires more than simple snippet completion, so we needed to create a custom completion processor. Our processor performs two tasks, first it extends the standard Java syntax with our own custom keywords, and second we cache the completion results for performance reasons. We extend the Java Code snippet completion engine to do this, and it is an internal class. Writing our own snippet completion engine from scratch is just not practical. re-open to move to JCore Moving to JCore for comment. JCore provides code completion APIs. Please provide the APIs you need. (In reply to comment #7) > Please provide the APIs you need. I meant could you please tell us exactly what APIs you need ? Not enough information. Closing as INVALID. Verified for 3.5M2 using I20080914-2000 |