Class RenameProvider
java.lang.Object
com.github._1c_syntax.bsl.languageserver.providers.RenameProvider
Провайдер, обрабатывающий запросы
textDocument/rename
и textDocument/prepareRename
.-
Constructor Summary
ConstructorDescriptionRenameProvider
(ReferenceResolver referenceResolver, ReferenceIndex referenceIndex) -
Method Summary
Modifier and TypeMethodDescriptiongetPrepareRename
(DocumentContext documentContext, TextDocumentPositionParams params) getRename
(DocumentContext documentContext, RenameParams params)
-
Constructor Details
-
RenameProvider
@ConstructorProperties({"referenceResolver","referenceIndex"}) public RenameProvider(ReferenceResolver referenceResolver, ReferenceIndex referenceIndex)
-
-
Method Details
-
getRename
- Parameters:
documentContext
- Контекст документа.params
- Параметры вызова.- Returns:
- Изменения документов
-
getPrepareRename
- Parameters:
documentContext
- Контекст документа.params
- Параметры вызова.- Returns:
- Range
-