Skip to content

rmarquez123/autocompletion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

(simple) autocompletion module

Purpose

A module for simple auto completion. The purpose of this module is to satisfy the use case steps:
  1. User enters text and invokes autocompletion
  2. A list of candidate completion items is returned based on the word preceding the cursor position
  3. The user selects one of the completion items from the list of candidate completion items
  4. The word preceding the cursor postion is replaced based on the insertion text of the selected completion item

Diagrams

Activity Diagram

Below is the use case represented as an activity diagram.

The are actually two entry points in the sequence. The first part of the use case ends with completion items being displayed. The second part of the use case ends with the cursor word (word preceding the cursor position) with the completion item insertion text.

Sequence Diagram

The sequence diagram, shown below, shows the interactions of the primary classes involved. This module provides the AutoCompletion object as the public controller class and Document and CompletionItemsDisplayer as interfaces which should also be implemented by the client.

About

module for simple autocompletion use cases

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages