Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

call hierarchy api #80112

Closed
wants to merge 12 commits into from
Prev Previous commit
fix compile errors
jrieken committed Sep 10, 2019
commit cd257d361388b9489b8d7d79650f5574351a4f4c
4 changes: 2 additions & 2 deletions src/vs/workbench/api/common/extHostLanguageFeatures.ts
Original file line number Diff line number Diff line change
@@ -1039,7 +1039,7 @@ class CallHierarchyAdapter {
});
}

private _ensureNode(symbol: vscode.CallHierarchySymbol): number {
private _ensureNode(symbol: vscode.CallHierarchyItem): number {
const id = JSON.stringify(symbol.uri) + JSON.stringify(symbol.range);
let res = this._ids.get(id);
if (typeof res === 'undefined') {
@@ -1051,7 +1051,7 @@ class CallHierarchyAdapter {
}

// todo@joh move to extHostConverter
private _fromSymbol(symbol: vscode.CallHierarchySymbol): extHostProtocol.ICallHierarchySymbolDto {
private _fromSymbol(symbol: vscode.CallHierarchyItem): extHostProtocol.ICallHierarchySymbolDto {
return {
id: JSON.stringify(symbol.uri) + JSON.stringify(symbol.range),
name: symbol.name,