summaryrefslogtreecommitdiff
path: root/src/compiler
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-04-09 16:56:08 +0000
committerPaul Phillips <paulp@improving.org>2009-04-09 16:56:08 +0000
commite1ccc2e82996b7d1c28fcca330387ad687cff6b5 (patch)
treeb82e5ea9f5661726f437d7509eee7c26e49e0e30 /src/compiler
parentc3e29c28b0db043e1f090154c36ea3485809f5e3 (diff)
downloadscala-e1ccc2e82996b7d1c28fcca330387ad687cff6b5.tar.gz
scala-e1ccc2e82996b7d1c28fcca330387ad687cff6b5.tar.bz2
scala-e1ccc2e82996b7d1c28fcca330387ad687cff6b5.zip
Completion roadmap comments.
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/scala/tools/nsc/interpreter/Completion.scala15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/compiler/scala/tools/nsc/interpreter/Completion.scala b/src/compiler/scala/tools/nsc/interpreter/Completion.scala
index 6bfb5cdea1..3530a1c375 100644
--- a/src/compiler/scala/tools/nsc/interpreter/Completion.scala
+++ b/src/compiler/scala/tools/nsc/interpreter/Completion.scala
@@ -4,6 +4,21 @@
*/
// $Id$
+//
+// TODO, if practical:
+//
+// 1) Types: val s: String = x.<tab> should only show members which result in a String.
+// Possible approach: evaluate buffer as if current identifier is
+// 2) Implicits: x.<tab> should show not only x's members but those of anything for which
+// there is an implicit conversion from x.
+// 3) Chaining: x.foo(bar).<tab> should complete on foo's result type.
+// 4) Imports: after import scala.collection.mutable._, HashMap should be among
+// my top level identifiers.
+// 5) Caching: it's silly to parse all the jars on every startup, we should have
+// a peristent store somewhere we can write and only check last-mod dates.
+// 6) Security: Are we using the filesystem unnecessarily?
+//
+
package scala.tools.nsc.interpreter
import jline._