Class DebugExpressionProvider
Methods
get
- get(model, selection): string
Parameters
- model: ITextModel
- selection: IRange
Returns string
Protected
getExactExpressionStartAndEnd
- getExactExpressionStartAndEnd(lineContent, looseStart, looseEnd): {
end: number;
start: number;
} Parameters
- lineContent: string
- looseStart: number
- looseEnd: number
Returns {
end: number;
start: number;
}
TODO: introduce a new request to LSP to look up an expression range: https://github.com/Microsoft/language-server-protocol/issues/462