Eclipse Build Path Exclude

Answered

In Eclipse you could easily remove a java file from the build path by selecting the file and right clicking and selecting build path-> remove. I use this when I have created a replacement class and no longer want the old one in the build. I don't really like the idea of deleting, since you might want to go back. Is there a similar function in IntelliJ? I am a new convert and love the product. Just trying to map old methodologies into this new paradigm.

 

Thanks

0
2 comments

There is exclude from compile option, it could be invoked by right clicking on a file name in messages window:

https://www.jetbrains.com/help/idea/excludes.html

https://www.jetbrains.com/help/idea/messages-tool-window.html#context

0

Thanks. worked like a charm. I need to get use to the changes in the environments. I went to the compiler window but didn't notice the +/- and thought it was only folder centric.

0

Please sign in to leave a comment.