mirror of https://github.com/sbt/sbt.git
Updated Server Client level API (markdown)
parent
f5fe9aeabf
commit
3f4423f430
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue