(r: Range)
| 800 | } |
| 801 | |
| 802 | function onExpandSelection(r: Range) { |
| 803 | const activeTextEditor: vscode.TextEditor | undefined = vscode.window.activeTextEditor; |
| 804 | if (activeTextEditor) { |
| 805 | activeTextEditor.selection = new vscode.Selection(new vscode.Position(r.start.line, r.start.character), new vscode.Position(r.end.line, r.end.character)); |
| 806 | telemetry.logLanguageServerEvent('ExpandSelection'); |
| 807 | } |
| 808 | } |
| 809 | |
| 810 | async function onAddToIncludePath(path: string): Promise<void> { |
| 811 | if (isFolderOpen()) { |