You can exclude any file from your project so that it is ignored by indexing, inspections, and code completion.

In the Project tool window, right-click the file you want to exclude, select Override File Type from the context menu, and then select Plain Text from the Choose File Type list.

If necessary, you can always revert the file to its original type by selecting Override File Type from the menu again, and then selecting the original file type from the list.