I have written the following code in V.S. Code on MacOS:-
import pygame
pygame.init()
screen = pygame.display.set_mode((800,600))
But, it the Material Icon Theme in V.S. Code doesn't highlight the init() and other pygame methods as expected! Previously, I had edited the Settings.json file in V.S. Code by adding the following lines to eliminate the Module 'pygame' has no 'init' member error! Is this causing the issue of not highlighting the pygame methods in V.S. Code? Any help would be highly appreciated! Thanks for the help:)
**Changes made in Settings.json file in V.S. Code**
"python.linting.pylintArgs": [
"--extension-pkg-whitelist=pygame"
"--errors-only",
"--generated-members=numpy.* ,torch.* ,cv2.* , cv.*"
],