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

Recommenders/Attic/New and Noteworthy/0.2

< Recommenders
Revision as of 09:31, 25 February 2011 by Andreas.kaluza.net (Talk | contribs) (teaser for chain completion)

Chain Completion Engine

Our chain completion supports the instantiation of types. It takes the programming context and searches through out all members and member's member until the specific type is found. The chain from the programming context to the search result are stored as a proposal. All proposed chains can be chosen to instantiate the type.

Completion on this

Recommenders-chain-completion-on-IStatusLineManager.png

Completion from static types

Recommenders-chain-completion-on-IWorkbenchHelpSystem.png

Completion on method returns

Recommenders-chain-completion-on-method-return.png

Completion with type cast

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

Recommenders-templates-completion-on-button-declaration.png

Dynamic Pattern Completion

Recommenders-templates-completion-on-button-with-observed-calls.png

Back to the top