PyCharm
 
2025.1
Get PyCharm

Code completion

Last modified: 07 March 2025

Basic code completion helps you complete the names of classes, methods, and keywords within the visibility scope.

PyCharm analyzes the context and suggests the choices that are reachable from the current caret position. Suggestions also include Live templates. Completion is available for a non-English keyboard layout.

  • Invoking Basic code completion for the second time shows the names of classes, functions, modules, and variables in the entire project, regardless of dependencies.

    https://resources.jetbrains.com/help/img/idea/2025.1/python_class_name_completion.png
    Gif
  • Code completion is available for custom file types. However, PyCharm does not recognize the structure of such files and suggests options regardless of whether they are appropriate in the current context.