Code Inspection, when enabled, can produce additional underlining in text editors. Find options related to the feature on the Code Inspection page in this dialog.