Skip to content

Instantly share code, notes, and snippets.

@julien-lafont
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save julien-lafont/71462dfb6b58661b77c7 to your computer and use it in GitHub Desktop.
Save julien-lafont/71462dfb6b58661b77c7 to your computer and use it in GitHub Desktop.
Exclusion list for IDEA autoimport/completion on Play2/Scala projects
<!--
Exclude all Play-java classes from auto-import (play.libs, play.mvc...)
Exclude some generally unused classes from java.awt, javax.swing, sun.security... WIP! Many more can be added
Where to configure that?
- cat ~/.IntelliJIdea14/config/options/editor.codeinsight.xml
- or from Settings/General/editor/Auto Import
-->
<application>
<component name="CodeInsightSettings">
<EXCLUDED_PACKAGE NAME="com.fasterxml.jackson" />
<EXCLUDED_PACKAGE NAME="com.google.common.collect.Table" />
<EXCLUDED_PACKAGE NAME="com.sun" />
<EXCLUDED_PACKAGE NAME="java.awt" />
<EXCLUDED_PACKAGE NAME="java.time" />
<EXCLUDED_PACKAGE NAME="java.util.UUID" />
<EXCLUDED_PACKAGE NAME="java.util.concurrent" />
<EXCLUDED_PACKAGE NAME="javafx.application" />
<EXCLUDED_PACKAGE NAME="javax.swing" />
<EXCLUDED_PACKAGE NAME="jdk.nashorn" />
<EXCLUDED_PACKAGE NAME="org.h2" />
<EXCLUDED_PACKAGE NAME="org.omg" />
<EXCLUDED_PACKAGE NAME="play.Application" />
<EXCLUDED_PACKAGE NAME="play.Configuration" />
<EXCLUDED_PACKAGE NAME="play.GlobalSettings" />
<EXCLUDED_PACKAGE NAME="play.Logger" />
<EXCLUDED_PACKAGE NAME="play.Mode" />
<EXCLUDED_PACKAGE NAME="play.Plugin" />
<EXCLUDED_PACKAGE NAME="play.Routes" />
<EXCLUDED_PACKAGE NAME="play.api.libs.ws.WS.WSRequestHolder" />
<EXCLUDED_PACKAGE NAME="play.cache" />
<EXCLUDED_PACKAGE NAME="play.data" />
<EXCLUDED_PACKAGE NAME="play.db" />
<EXCLUDED_PACKAGE NAME="play.filters" />
<EXCLUDED_PACKAGE NAME="play.i18n" />
<EXCLUDED_PACKAGE NAME="play.libs" />
<EXCLUDED_PACKAGE NAME="play.mvc" />
<EXCLUDED_PACKAGE NAME="play.server" />
<EXCLUDED_PACKAGE NAME="play.test" />
<EXCLUDED_PACKAGE NAME="scala.parallel.Future" />
<EXCLUDED_PACKAGE NAME="scala.slick.util.Logging" />
<EXCLUDED_PACKAGE NAME="scalaz.concurrent.Future" />
<EXCLUDED_PACKAGE NAME="sun.net.www.http.HttpClient" />
<EXCLUDED_PACKAGE NAME="sun.security.krb5" />
<EXCLUDED_PACKAGE NAME="tyrex.services.UUID" />
</component>
</application>
@julien-lafont
Copy link
Author

PR welcomed if you have a more exhaustive list :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment