-
Notifications
You must be signed in to change notification settings - Fork 837
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
client -> server requst: Goto Parent Module #1002
Comments
Would multiple files be opened if an array was returned? |
The client should use exactly the same logic it uses for handling other goto definition requests (we use exactly the same return type for goto definition and goto to type I belive). Usually, the logic is to show a drop-down with for choosing which location exactly do you want to go to. |
@jrieken do we have a comparable request in VS Code ? |
Why has this staled? |
Parent Module
Server Capability:
{ "parentModule": boolean }
This request is send from client to server to handle "Goto Parent Module" editor action.
Method:
experimental/parentModule
Request:
TextDocumentPositionParams
Response:
Location | Location[] | LocationLink[] | null
Example
experimental/parentModule
returns a singleLink
to themod foo;
declaration.Unresolved Question
The text was updated successfully, but these errors were encountered: