Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

Accept vscode.Location as an argument for type view #75

Merged
merged 1 commit into from
May 3, 2022

Conversation

CsCherrYY
Copy link
Contributor

Signed-off-by: CsCherrYY [email protected]

original issue: microsoft/vscode#146037

With this change, we can pass an anchor (vscode.Location exactly) to the current setTypeHierarchyDirection() to manipulate the preset type views (supertype view and subtype view).

The usage can be found here: https://github.com/CsCherrYY/vscode-java/blob/bff041f997a6de0cbba9df243c1b7dc3a6f84006/src/standardLanguageClient.ts#L421-L427

Simple demo:
location

@jrieken jrieken merged commit 88c7b06 into microsoft:main May 3, 2022
@CsCherrYY CsCherrYY deleted the cs-adopt-location branch March 24, 2023 01:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants