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 and select Mark as plain text from the context menu. If necessary, you can always revert the file to its original type by using the Mark as <file type> option.