Programming Auto-Completion Task
Jump to navigation
Jump to search
A Programming Auto-Completion Task is a Code Auto-Completion Task that can predict and make source code suggestions to an user using a Programming Interface or Programming Environment.
- AKA: Command-Line Completion Task, Tab Completion Task.
- Context:
- Task Input: a source code word or statement typed by a programmer.
- Task Output: a set of autocomplete source code suggestions.
- It can be solve a Programming Auto-Completion System by implementing a Programming Auto-Completion Algorithm.
- It can be part of an Integrated Development Environment Code Auto-Completion Task.
- Example(s):
- Counter-Example(s):
- See: Human-Computer Interaction, Editing Task, Language Model, Natural Language Inference Task, Natural Language Processing Task, Code Generating Task, Pattern Mining Task, Shell Script, Batch File.
References
2019
- (Wikipedia, 2019) ⇒ https://en.wikipedia.org/wiki/Autocomplete#In_source_code_editors Retrieved:2019-10-11.
- Autocomplete of source code is also known as code completion. In a source code editor autocomplete is greatly simplified by the regular structure of the programming languages. There are usually only a limited number of words meaningful in the current context or namespace, such as names of variables and functions. An example of code completion is Microsoft's IntelliSense design. It involves showing a pop-up list of possible completions for the current input prefix to allow the user to choose the right one. This is particularly useful in object-oriented programming because often the programmer will not know exactly what members a particular class has. Therefore, autocomplete then serves as a form of convenient documentation as well as an input method. Another beneficial feature of autocomplete for source code is that it encourages the programmers to use longer, more descriptive variable names incorporating both lower and upper case letters (CamelCase), hence making the source code more readable. Typing large words with many mixed cases like "numberOfWordsPerParagraph" can be difficult, but Autocomplete allows one to complete typing the word using a fraction of the keystrokes.