sbt.internal.util.complete
Members list
Type members
Classlikes
Represents a completion. The abstract members display
and append
are best explained with an example.
Represents a completion. The abstract members display
and append
are best explained with an example.
Assuming space-delimited tokens, processing this: am is are w
In this way, two pieces of information are preserved: 1) what needs to be appended to the current input if a completion is selected 2) the full token being completed, which is useful for presenting a user with choices to select
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Completion.type
Represents a set of completions. It exists instead of implicitly defined operations on top of Set[Completion] for laziness.
Represents a set of completions. It exists instead of implicitly defined operations on top of Set[Completion] for laziness.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Completions.type
Provides common Parser implementations and helper methods.
Provides common Parser implementations and helper methods.
Attributes
- Supertypes
- Self type
-
DefaultParsers.type
Attributes
- Supertypes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
EditDistance.type
These sources of examples are used in parsers for user input completion. An example of such a source is the sbt.internal.util.complete.FileExamples class, which provides a list of suggested files to the user as they press the TAB key in the console.
These sources of examples are used in parsers for user input completion. An example of such a source is the sbt.internal.util.complete.FileExamples class, which provides a list of suggested files to the user as they press the TAB key in the console.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class FileExamplesclass FixedSetExamples
Provides path completion examples based on files in the base directory.
Provides path completion examples based on files in the base directory.
Value parameters
- base
-
the directory within which this class will search for completion examples.
- prefix
-
the part of the path already written by the user.
Attributes
- Supertypes
Represents a finite upper bound. The maximum allowed value is 'value', inclusive. It must positive.
Represents a finite upper bound. The maximum allowed value is 'value', inclusive. It must positive.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait UpperBoundclass Objecttrait Matchableclass AnyShow all
A convenience example source that wraps any collection of strings into a source of examples.
A convenience example source that wraps any collection of strings into a source of examples.
Value parameters
- examples
-
the examples that will be displayed to the user when they press the TAB key.
Attributes
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait ExampleSourceclass Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
HistoryCommands.type
Represents unbounded.
Represents unbounded.
Attributes
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalstrait UpperBoundclass Objecttrait Matchableclass AnyShow all
- Self type
-
Infinite.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
JLineCompletion.type
A String parser that provides semi-automatic tab completion. A successful parse results in a value of type A
. The methods in this trait are what must be implemented to define a new Parser implementation, but are not typically useful for common usage. Instead, most useful methods for combining smaller parsers into larger parsers are implicitly added by the RichParser type.
A String parser that provides semi-automatic tab completion. A successful parse results in a value of type A
. The methods in this trait are what must be implemented to define a new Parser implementation, but are not typically useful for common usage. Instead, most useful methods for combining smaller parsers into larger parsers are implicitly added by the RichParser type.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
trait ValidParser[T]
Contains Parser implementation helper methods not typically needed for using parsers.
Contains Parser implementation helper methods not typically needed for using parsers.
Attributes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object DefaultParsers.typeobject Parser.type
Provides standard implementations of commonly useful Parsers.
Provides standard implementations of commonly useful Parsers.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object DefaultParsers.typeobject Parsers.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ProcessError.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
Attributes
- Supertypes
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
TokenCompletions.type
Attributes
- Companion
- trait
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
UpperBound.type
Attributes
- Supertypes