I'm starting to use Pycharm, creating a test with Pygame.
I notice 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 auto-complete from_surface ()
appears correctly.
Ex:
import pygame
car = pygame.image.load("car.png").convert_alpha()
car_mask = pygame.mas #### .... here, Pycharm should already show autocomplete
This also appears for other situations, for example, if I want to use car.get_rect()
, it does not appear there anymore after typing car.
How to fix this?