dotnet / dotnet/fsharp

Intellisense improvements

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

Description

It looks like there's no context consideration when it comes to autocomplete suggestions. Regardless of what and where you're typing in F# code there's like an equal chance to get a type name, func/variable name or a keyword suggestion whether those suggestions make sense or not.

My guess is that it's a pretty frustrating experience for a newcomer, especially if they are familiar with C#/Java tooling and/or JetBrains IDEs. Points for possible improvements:

1. Stop offering keywords that don't make sense in the context. E.g. when a name begins with `to` or `of`, those are often the first and forced suggestions
2. Intellisense with lowercase letters does not suggest the same thing as with capital letters, e.g. a name `somethinLikeThisOne` will get suggested by typing `sLTO`, but not by `slto`
3. This one is much harder to define, but would be nice to consider the context (e.g. a namespace, module or function) and give a higher priority to things that "make more sense" here, like name of certain variables or types, that e.g. were mentioned in the function already

VS version: VS Pro 2022 (64 bit) 17.5.2

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.