How to exclude a single file from the project?

The Exclude tab in the project settings seems to only allow excluding
of whole directories.

If there is a compilation error I think there is a right-click option
to exclude the file from the project (or there was).

Is there another way to do it?


Thanks,

Neil

1 comment

If there is a compilation error I think there is a right-click option
to exclude the file from the project (or there was).


This excludes the file from the compilation and not from the project . If excluding file from the compilation is all that needed,
you can set excludes in File | Project Properties | Compiler.

--

Best regards,
Eugene Zhuravlev
JetBrains, Inc, http://www.intellij.com
"Develop with pleasure!"


0

Please sign in to leave a comment.