I'm starting to use Pycharm, creating a test with Pygame.
I realize that some Pygame methods do not appear in Pycharm AutoComplete.
For example, if I want to put a pygame.mask.from_surface()
, typing pygame.mas
will not do anything. But if I manually complete mask
and press .
, then the from_surface()
auto-completes correctly.
Ex:
import pygame
carro = pygame.image.load("imagens/onix.png").convert_alpha()
carro_mask = pygame.mas # aqui já deveria aparece o autocompletar
This also appears for other situations, such as if I want to use carro.get_rect()
, then nothing appears after typing carro.
Here is my current configuration:
How do I fix this?