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

Navigate to external definition does not work on enum/DU cases #15159

Closed
kerams opened this issue Apr 29, 2023 · 0 comments
Closed

Navigate to external definition does not work on enum/DU cases #15159

kerams opened this issue Apr 29, 2023 · 0 comments
Assignees
Labels
Area-LangService-Navigation go to definition, F1 help + the FCS APIs related to it Feature Request Needs-Triage
Milestone

Comments

@kerams
Copy link
Contributor

kerams commented Apr 29, 2023

Given

let f () =
    let k = System.DateTimeKind.Local
    let g = Ok 3
    ()

pressing F12 (Go to definition) on Local and Ok does nothing. In the first case I can at least F12 DateTimeKind, but in the latter, I have to qualify the DU case first.

Describe the solution you'd like

Navigation to external metadata should occur, with the cursor placed on the right case, or at least on the type.

Additional context

VS 17.6.0 Preview 5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-LangService-Navigation go to definition, F1 help + the FCS APIs related to it Feature Request Needs-Triage
Projects
Archived in project
Development

No branches or pull requests

2 participants