From e1ccc2e82996b7d1c28fcca330387ad687cff6b5 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Thu, 9 Apr 2009 16:56:08 +0000 Subject: Completion roadmap comments. --- src/compiler/scala/tools/nsc/interpreter/Completion.scala | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'src/compiler') 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. should only show members which result in a String. +// Possible approach: evaluate buffer as if current identifier is +// 2) Implicits: x. 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). 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._ -- cgit v1.2.3