Skip to content

Commit

Permalink
Merge pull request #757 from tgodzik/fix-super
Browse files Browse the repository at this point in the history
Fix recently changed go-to-super-method and super-method-hierarchy
  • Loading branch information
tgodzik authored Nov 12, 2021
2 parents bdcaccd + 310a5f4 commit b63a140
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -738,12 +738,7 @@ function launchMetals(
(editor) => {
client.sendRequest(ExecuteCommandRequest.type, {
command: ServerCommands.GotoSuperMethod,
arguments: [
{
document: editor.document.uri.toString(true),
position: editor.selection.start,
},
],
arguments: [getTextDocumentPositionParams(editor)],
});
}
);
Expand All @@ -753,12 +748,7 @@ function launchMetals(
(editor) => {
client.sendRequest(ExecuteCommandRequest.type, {
command: ServerCommands.SuperMethodHierarchy,
arguments: [
{
document: editor.document.uri.toString(true),
position: editor.selection.start,
},
],
arguments: [getTextDocumentPositionParams(editor)],
});
}
);
Expand Down

0 comments on commit b63a140

Please sign in to comment.