Class DebugExpressionProvider
Methods
get
- get(model: ITextModel, selection: IRange): string
Parameters
model: ITextModel
selection: IRange
Returns string
Protected getExactExpressionStartAndEnd
- getExactExpressionStartAndEnd(lineContent: string, looseStart: number, looseEnd: number): { 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