SelectionRangeProvider

dotty.tools.pc.SelectionRangeProvider
class SelectionRangeProvider(driver: InteractiveDriver, params: List[OffsetParams])

Provides the functionality necessary for the textDocument/selectionRange request.

Value parameters

compiler

Metals Global presentation compiler wrapper.

params

offset params converted from the selectionRange params.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def selectionRange(): List[SelectionRange]

Get the seletion ranges for the provider params

Get the seletion ranges for the provider params

Attributes

Returns

selection ranges