Please enable JavaScript to view this site.

winIDEA Help

Version: 9.21.229

Navigation: Debug > Windows > Editor > Options

Scroll Prev Top Next More

Auto-completion

Right-click within Editor Window and select Options / Auto-completion.

 

Auto-completion gives suggestions in a suggestion window while typing. Scrolling through the suggestions is possible with the arrow keys and accepting a suggestion with Enter key. Suggestions are shown when available and can be also manually displayed with  keyboard shortcut (by default CTRL+Space). It is enabled by default.

 

The Auto-completion system uses a dictionary-based engine and semantic-based engine for generating suggestions.

Dictionary-based engine - Searches in all currently open files, suggesting similar words from those files. It is available for all types of files and it has no language awareness.

Semantic-based engine is language-aware. It is currently only available for C, C++ and Python. By default it is used only when necessary (e.g. when suggesting class members).

 

EditorAutoCompletion

 

 

Enable auto-completion - Check to enable Auto-completion.

Replace rest of word - Check to automatically replace the word.

Force semantic completion - When enabled the dictionary-based engine is disabled and only semantic completion is used.

 

i-icon

It gives more accurate results, but results in slower operation, meaning suggestion may not be available at all times.

 

 

Icons in the Suggestion window

Icon

Description

EditorSuggestionsIcon

Suggestion is dictionary-based.

EditorSuggestionsIcon2

Suggestion is a class or a struct.

EditorSuggestionsIcon3

Suggestion is a define or a macro.

EditorSuggestionsIcon4

Suggestion is an enum.

EditorSuggestionsIcon5

Suggestion is a keyword/reserved word (e.g. int, void, extern in C and C++).

EditorSuggestionsIcon6

Suggestion is a function/method.

EditorSuggestionsIcon7

Suggestion is a variable.

 

 

Copyright © 2024 TASKING Germany GmbH