User Tools

Site Tools


01_user_documentation:additional-functionality:autocomplete

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
01_user_documentation:additional-functionality:autocomplete [2025/01/24 12:17] – ↷ Links adapted because of a move operation tim201_user_documentation:additional-functionality:autocomplete [2025/01/24 17:07] (current) – removed gaetan
Line 1: Line 1:
-With the plugin [[https://gitlab.com/grogra/groimp-plugins/Autocompletors|Autocompletors]] comes the possibility to use a text autocomplete in GroIMP text editors. 
  
-Completors available: 
-  * **SimpleStatic**: The completions included comes from the [[01_user_documentation:user-guide:common_panels#preferences|function browser]]. It also includes all classes from IMP3D objects and turtle commands. When a project is recompiled, its modules and static fields are added to the completions. Warning there is not notion of scope in this completor, i.e. it do not check if a completion is available at a __java__ level. 
-  * **Antlr4Simple**: in development completor. It suggests completions based on the scope and context of the caret. It is based on a parser written in ANTLR 4. The development of the antlr parser and scope builder is available [[https://gitlab.com/gaetan.heidsieck/tinyimp|here]]. 
- 
-==== How to select a completor ==== 
- 
-Text completors are selected in the options (see how to use the [[01_user_documentation:user-guide:common_panels#preferences|preference panel]]). 
- 
-==== Options ==== 
- 
-Currently available options: 
-  * Display description popup: It enables/disables the description popup next to the completion popup. 
-  * Automatically complete words with only one completion: Words with only one completion available will be autocompleted automatically when the completion is triggered (CTRL +SPACE by default). 
- 
-==== How to use it ==== 
- 
-To make the completion, you press ''CTRL + Space''. The possible completions will appear in a popup, by pressing ''Enter'' the selected completion will be inserted in the text. 
- 
-It is possible to use the arrows ''UP'' and ''DOWN'' when the popup is open to select other completions. 
01_user_documentation/additional-functionality/autocomplete.1737717448.txt.gz · Last modified: 2025/01/24 12:17 by tim2