Community
Participate
Working Groups
here all the changes: new interface: IProposalHolder IDesignTimeDOMProvider uses that interface now to get for a specific key the param names and the doc. Also added 1 extra method so that the IDesignTimeDomProvider can filter/resolve the ids from a specific Scriptable. DOMResolver: use Scriptable where over possible instead of ScriptableObject (interface before impl) Also walk over the parents instead only over the prototype else you will never get the complete tree that can be used. use the IProposalHolder to set params and doc into the UncknownReference object. SampleProvider: updated to the new changes in the IDesignTimeDOMProvider interface. ScriptCompletionEngine: Change for support to get parameternames and proposalInfo's (doc) CompletionProposal: Fix for if it is a METHOD_REF that then parameters names can be in the proposal. UncknownReference: parameterNames/proposalInfo fields and get/setters. JavaScriptCompletionEngine: Change for support to get parameternames and proposalInfo's (doc) JavaScriptCompletionProposalCollector: support that proposal can be just a string. ScriptMethodCompletionProposal: support for params and linked mode so you can tab over the param names. With this implementation we could do pretty much everything we want, have parameter names and doc in the code completion. And i only have to build 1 domprovider needed for the complete code completion tree. Because it also walks over the parents. If you have any question about this patch or reservations please ping me.
Created attachment 85388 [details] the patch
Applied.
bulk change: fixed in 0.95