sbt.internal.langserver

Members list

Type members

Classlikes

final class CancelRequestParams extends Serializable

Id for a cancel request

Id for a cancel request

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class ClientCapabilities extends Serializable

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class Diagnostic extends Serializable

Represents a diagnostic, such as a compiler error or warning. Diagnostic objects are only valid in the scope of a resource.

Represents a diagnostic, such as a compiler error or warning. Diagnostic objects are only valid in the scope of a resource.

Value parameters

code

The diagnostic's code. Can be omitted.

message

The diagnostic's message.

range

The range at which the message applies.

severity

The diagnostic's severity. Can be omitted. If omitted it is up to the client to interpret diagnostics as error, warning, info or hint.

source

A human-readable string describing the source of this diagnostic, e.g. 'typescript' or 'super lint'.

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any
object Diagnostic

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Diagnostic.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object ErrorCodes

Holds the error codes for the LSP implementation here.

Holds the error codes for the LSP implementation here.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
ErrorCodes.type
final class InitializeParams extends Serializable

Value parameters

rootPath

The rootPath of the workspace.

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class InitializeResult extends Serializable

Value parameters

capabilities

The capabilities the language server provides.

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class Location extends Serializable

Represents a location inside a resource, such as a line inside a text file.

Represents a location inside a resource, such as a line inside a text file.

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any
object Location

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Location.type
final class LogMessageParams extends Serializable

Value parameters

message

The actual message

type

The message type.

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
object MessageType

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
final class Position extends Serializable

Position in a text document expressed as zero-based line and zero-based character offset. A position is between two characters like an 'insert' cursor in a editor.

Position in a text document expressed as zero-based line and zero-based character offset. A position is between two characters like an 'insert' cursor in a editor.

Value parameters

character

Character offset on a line in a document (zero-based).

line

Line position in a document (zero-based).

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any
object Position

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Position.type
final class PublishDiagnosticsParams extends Serializable

Diagnostics notification are sent from the server to the client to signal results of validation runs.

Diagnostics notification are sent from the server to the client to signal results of validation runs.

Value parameters

diagnostics

An array of diagnostic information items.

uri

The URI for which diagnostic information is reported.

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class Range extends Serializable

A range in a text document expressed as (zero-based) start and end positions. A range is comparable to a selection in an editor. Therefore the end position is exclusive.

A range in a text document expressed as (zero-based) start and end positions. A range is comparable to a selection in an editor. Therefore the end position is exclusive.

Value parameters

end

The range's end position.

start

The range's start position.

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any
object Range

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
Range.type
final class SaveOptions extends Serializable

Value parameters

includeText

The client is supposed to include the content on save.

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any
object SaveOptions

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class SbtExecParams extends Serializable

Command to execute sbt command.

Command to execute sbt command.

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any
object SbtExecParams

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class ServerCapabilities extends Serializable

Value parameters

definitionProvider

Goto definition

hoverProvider

The server provides hover support.

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class TextDocumentIdentifier extends Serializable

Text documents are identified using a URI. On the protocol level, URIs are passed as strings.

Text documents are identified using a URI. On the protocol level, URIs are passed as strings.

Value parameters

uri

The text document's URI.

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type

Value parameters

position

The position inside the text document.

textDocument

The text document.

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class TextDocumentPositionParamsInterface(val textDocument: TextDocumentIdentifier, val position: Position) extends Serializable

Goto definition params model

Goto definition params model

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
final class TextDocumentSyncOptions extends Serializable

Attributes

Companion
object
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type