- Type a name or a part of a name.
While typing, use the following techniques:
- Narrow down the suggestion list by typing
any part of a word, even the characters somewhere in the middle, or invoking code completion
after a dot separator. PyCharm will show suggestion list
that includes occurrences with all the possible positions of the entered characters.
This makes the use of the asterisk wildcard unnecessary:

- In case of CamelCase or snake_case names, type the initial letters only. So doing, PyCharm automatically recognizes and matches the initial letters.
- Narrow down the suggestion list by typing
any part of a word, even the characters somewhere in the middle, or invoking code completion
after a dot separator. PyCharm will show suggestion list
that includes occurrences with all the possible positions of the entered characters.
-
Choose on the main menu or press Ctrl+Space.
The images below show basic code completion for the following cases:
- Methods:

- Dictionaries:

- Django templates:

- Methods:
-
If necessary, press Ctrl+Space for the second time.
This shows the names of classes, functions, modules and variables.

This action produces the same effect as pressing Ctrl+Alt+Space.
- Select the desired class from the suggestion list, and do one of the following:
- Press Enter or double-click the desired choice.
- Press Tab.
- The option Autocomplete common prefix () makes PyCharm look for common prefixes and automatically complete them in the editor. This feature is useful for the classes with numerous similar-named members.
- If a suggestion list shows n variants of a class, type a dot, and the next suggestion list after dot will show the all possible qualified names of the members. After selecting the desired one, import statement will be added automatically.
