Updated Server Client level API (markdown)

Josh Suereth 2014-01-21 09:10:58 -08:00
parent f5fe9aeabf
commit 3f4423f430
1 changed files with 6 additions and 6 deletions

@ -51,13 +51,13 @@ trait SbtClient extends Closeable {
*
* @param partialCommand An incomplete command or task string
*
* @return A set of "more complete" strings that could be used as sbt commands.
*
* TODO - This should probably return some more structured "completion" thing.
* That would allow us to return examples or <tag> types that a client would not use
* in autocomplete...
* @return A set of "completion" strings that could be used as sbt commands. These
* completions are triples of:
* - the string to append
* - the string to display to users
* - a flag?
*/
def possibleAutocompletions(partialCommand: String): Future[Set[String]]
def possibleAutocompletions(partialCommand: String, detailLevel: Int): Future[Set[Completion]]
/**
* This tries to find whether there is a build key associated with the