DataGrip 2024.1 Help

Code Inspection: Reassigned to plain text

Reports files that were explicitly re-assigned to Plain Text File Type. This association is unnecessary because the platform auto-detects text files by content automatically.

You can dismiss this warning by removing the file type association in Settings | Editor | File Types | Text.

Suppress an inspection in the editor

  1. Place the caret at the highlighted line and press Alt+Enter or click the Intention action icon.

  2. Click the arrow next to the inspection you want to suppress and select the necessary suppress action.

Last modified: 09 April 2024