How do you exclude specific files from being indexed?

My project does a build step in which it concatenates and minifies a bunch of javascript files. I'd like to exclude this file from being indexed as a source file. I know you can do this for whole directories in the Project Structure window, but can this be done for individual files?

Thanks!

2 comments
Comment actions Permalink

Hi,

In PhpStorm you can right click on such file in Project View panel and choose "Mark as plain text" (IDE will treat this particular file as plain text so no syntax highlighting / code completion / indexing will be done for such file). Maybe such action is available for IntelliJ IDEA as well?

0
Comment actions Permalink

Oh good, it worked :-)

Oddly, I tried that exact thing the other day and it didn't work then. Weird.

0

Please sign in to leave a comment.