How do I stop pyCharm from complaining about underscore strings?
问题 I'm programming in pyCharm making a wxPython project (Mostly generated from wxGlade). If I have some code which specifies a string e.g.: value_label = wx.StaticText(self, wx.ID_ANY, _("Value")) It then complains about Unresolved reference '_' . Is there any way to ignore only this unresolved reference? 回答1: You can change the settings of the Unresolved reference inspection: Open the Settings... menu Select the Inspections page Search for Unresolved references and click the inspection. On the