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

In the Project tool window, right-click the file you want to exclude and choose Mark as plain text from the context menu. If necessary, you can always revert the file to its original type by the Mark as <file type> command.