dotnet / dotnet/fsharp

Use asynchronous Go To Definition in VS

Open
#15,892 0 comments 1 reaction 0 assignees View on GitHub
Area-VS Feature Improvement
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 11h
Merged PRs (30d)
131

Description

**Is your feature request related to a problem? Please describe.**

Currently we implement the synchronous [IGoToDefinitionService](https://sourceroslyn.io/#Microsoft.CodeAnalysis.EditorFeatures/GoToDefinition/IGoToDefinitionService.cs,4878e3bfa8c14358) with [FSharpGoToDefinitionService](https://sourceroslyn.io/#Microsoft.CodeAnalysis.ExternalAccess.FSharp/Internal/Editor/FSharpGoToDefinitionService.cs) which has some potential for locking things up.

**Describe the solution you'd like**

There's an asynchronous interface which should provide a better user experience: [IAsyncGoToDefinitionService](https://sourceroslyn.io/#Microsoft.CodeAnalysis.EditorFeatures/GoToDefinition/IAsyncGoToDefinitionService.cs,1d02a780ba4e2440)

Looks like a good idea to switch to that one.

**Describe alternatives you've considered**

Keep it as it is, because it works fine most of the time.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.