If there's a directory or JAR file mounted in Filesystems because you need it on your classpath, but you won't be modifying it, you can hide it. Choose Project | Settings... from the main menu, expand the Filesystems Settings node, select the Hidden property and set it to true.