/*
 * Copyright 2005-2010 LAMP/EPFL
 */
// $Id$

package scala.tools.eclipse.util

import scala.tools.nsc.Settings

object IDESettings {
  def shownSettings(s : Settings) : List[Settings#Setting]= {
    import s._
    List(
      deprecation, g, optimise, target, unchecked,
      checkInit, noassertions, elidebelow, Xexperimental, future, XlogImplicits, Xmigration28, nouescape, plugin, disable, require, pluginsDir, pluginOptions,
      Xcloselim, Xdce, inline, Xlinearizer, Ynogenericsig, noimports, nopredefs, Yrecursion, selfInAnnots, Xsqueeze, refinementMethodDispatch, nospecialization,
      Xwarnfatal, Xwarninit, Xchecknull, Ywarndeadcode, Ybuildmanagerdebug)
  }
}

/*
 * Copyright 2005-2010 LAMP/EPFL
 */
// $Id$

package scala.tools.eclipse.util

import scala.tools.nsc.Settings

object IDESettings {
  def shownSettings(s : Settings) : List[Settings#Setting]= {
    import s._
    List(
      deprecation, g, optimise, target, unchecked,
      checkInit, noassertions, elidebelow, Xexperimental, future, XlogImplicits, Xmigration28, nouescape, plugin, disable, require, pluginsDir, pluginOptions,
      Xcloselim, Xdce, Xdetach, inline, Xlinearizer, Ynogenericsig, noimports, nopredefs, Yrecursion, selfInAnnots, Xsqueeze, refinementMethodDispatch, nospecialization,
      Xwarnfatal, Xwarninit, Xchecknull, Ywarndeadcode, Ybuildmanagerdebug)
  }
}

--- 
+++ 
@@ -13,7 +13,7 @@
     List(
       deprecation, g, optimise, target, unchecked,
       checkInit, noassertions, elidebelow, Xexperimental, future, XlogImplicits, Xmigration28, nouescape, plugin, disable, require, pluginsDir, pluginOptions,
-      Xcloselim, Xdce, Xdetach, inline, Xlinearizer, Ynogenericsig, noimports, nopredefs, Yrecursion, selfInAnnots, Xsqueeze, refinementMethodDispatch, nospecialization,
+      Xcloselim, Xdce, inline, Xlinearizer, Ynogenericsig, noimports, nopredefs, Yrecursion, selfInAnnots, Xsqueeze, refinementMethodDispatch, nospecialization,
       Xwarnfatal, Xwarninit, Xchecknull, Ywarndeadcode, Ybuildmanagerdebug)
   }
 }
Remove setting removed by the compiler. We really have to have something to obtain a list of relevant options from the compiler automatically, but now it does not seem feasible.
