Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Recommenders/Attic/New and Noteworthy/0.2"

m
(Removing all content from page)
 
(17 intermediate revisions by 4 users not shown)
Line 1: Line 1:
= Chain Completion Engine  =
 
How many times did you ask yourself "How do I get an instance of X"? How much time did you spent in shimming from one method call to another to find a path that returns you an instance of the type you are looking for?
 
  
Code Recommenders' chain completion is supporting you exactly on this task. To find all potential paths that result in an instance of the requested type, it takes the current context code completion was triggered in and searches  all members and member's member until a path to the requested type is found (or a time out occurred :) and then presents the paths found by the tool to the user as ready-to-use code snippets. Look at the screenshots below for some examples to see chain completion in action:
 
 
== Completion on ''this''  ==
 
 
<span class="Apple-style-span" style="font-size: 13px;">[[Image:Recommenders-chain-completion-on-IStatusLineManager.png]]</span>
 
 
== Completion from static types  ==
 
 
[[Image:Recommenders-chain-completion-on-IWorkbenchHelpSystem.png]]
 
 
== Completion on method returns ==
 
 
[[Image:Recommenders-chain-completion-on-method-return.png]]
 
 
== Completion with type cast ==
 
 
[[Image:Recommenders-chain-completion-with-cast.png]]
 
 
= Templates Completion Engine  =
 
 
Our templates completion engine provides dynamically created source code snippets on completion requests. The templates we propose are obtained from frequent patterns found in framework usage, i.e. the user is instantly served with the most common practices. For this not only the object type is considered, but also what has already been called on the variable - our templates are context-sensitive! You can see how they adopt to different occasion in the following screenshots. With this the new templates completion engine provides dynamic shortcuts for frequent code blocks and is also able to guide framework novices with relevant examples.
 
 
== Completion for Local Declaration  ==
 
 
[[Image:Recommenders-templates-completion-on-button-declaration.png]]
 
 
== Dynamic Pattern Completion  ==
 
 
[[Image:Recommenders-templates-completion-on-button-with-observed-calls.png]]
 
 
 
[[Category:Recommenders]]
 

Latest revision as of 02:29, 26 September 2013

Back to the top