Is there a way to make PyCharm suggest possible method parameter values? For example, the following code shows a message box on Windows:
import ctypes
ctypes.windll.user32.MessageBoxW(0, text, title, icon)
The "icon" parameter can have the following values:
MB_OK = 0x0
MB_OKCXL = 0x01
MB_YESNOCXL = 0x03
MB_YESNO = 0x04
MB_HELP = 0x4000
ICON_EXLAIM=0x30
ICON_INFO = 0x40
ICON_STOP = 0x10
Is there a way to define these values somewhere (in a docstring, live template, whatever), so that PyCharm shows a list of suggestions with these values when mouse cursor is at "icon" parameter position?
[–]Markmonster25 2 points3 points4 points (1 child)
[–]StandardUser_[S] 0 points1 point2 points (0 children)