getApplicableRefactors
abstract fun getApplicableRefactors(fileName: String, positionOrRange: Double, preferences: UserPreferences?, triggerReason: RefactorTriggerReason = definedExternally, kind: String = definedExternally, includeInteractiveActions: Boolean = definedExternally): ReadonlyArray<ApplicableRefactorInfo>(source)
abstract fun getApplicableRefactors(fileName: String, positionOrRange: TextRange, preferences: UserPreferences?, triggerReason: RefactorTriggerReason = definedExternally, kind: String = definedExternally, includeInteractiveActions: Boolean = definedExternally): ReadonlyArray<ApplicableRefactorInfo>(source)
Parameters
includeInteractiveActions
Include refactor actions that require additional arguments to be passed when calling getEditsForRefactor
. When true, clients should inspect the isInteractive
property of each returned RefactorActionInfo
and ensure they are able to collect the appropriate arguments for any interactive action before offering it.