package rename
- Alphabetic
- Public
- All
Type Members
- case class PrepareRenameParams(textDocument: TextDocumentIdentifier, position: Position) extends TextDocumentPositionParams with Product with Serializable
- case class PrepareRenameResult(range: Range, placeholder: String) extends Product with Serializable
-
case class
RenameClientCapabilities(dynamicRegistration: Option[Boolean], prepareSupport: Option[Boolean]) extends Product with Serializable
Capabilities specific to the
textDocument/renameCapabilities specific to the
textDocument/rename- dynamicRegistration
Whether definition supports dynamic registration.
- prepareSupport
The client supports testing for validity of rename operations before execution.
-
case class
RenameOptions(prepareProvider: Option[Boolean] = None) extends Product with Serializable
Rename options
Rename options
- prepareProvider
Renames should be checked and tested before being executed.
-
case class
RenameParams(textDocument: TextDocumentIdentifier, position: Position, newName: String) extends Product with Serializable
The rename request is sent from the client to the server to perform a workspace-wide rename of a symbol.
The rename request is sent from the client to the server to perform a workspace-wide rename of a symbol.
- textDocument
The document to rename.
- position
The position at which this request was sent.
- newName
The new name of the symbol. If the given name is not valid the request must return a [ResponseError](#ResponseError) with an appropriate message set.
Value Members
- object PrepareRenameRequestType extends RequestType[PrepareRenameParams, Option[Either[Range, PrepareRenameResult]]] with Product with Serializable
- object RenameConfigType extends ConfigType[RenameClientCapabilities, RenameOptions] with Product with Serializable
- object RenameRequestType extends RequestType[RenameParams, WorkspaceEdit] with Product with Serializable