ionide / ionide/FsAutoComplete

Auto completions not working for aspnet extension methods

Open
#1,354 3 comments 1 reaction 0 assignees View on GitHub
bug help wanted needs investigation
Dominant language
F#
Stars
486
Forks
169
Avg merge
2d 8h
Merged PRs (30d)
5

Description

### Version

7.23.0

### Dotnet Info

is anyone else encountering issues to get vscode suggestions for namespaces completion from .net aspnecore minimal api?
e.g. `dotnet new web --language F#` and try use `builder.Services.AddHttpClient` and `tab` for suggestions, no namespace is suggested to include, do other people experience such when trying to have autosuggestions on extension methods defined in .NET namespaces (already referenced)?

![Image](https://github.com/user-attachments/assets/e7ed9bd4-d03b-4440-a5a9-070161d6cb8a)

![Image](https://github.com/user-attachments/assets/c24370a5-9011-45e5-98fb-5ca5f10df0df)

or similarly with `task CE` ... does not suggest opening the right namespaces automatically

![Image](https://github.com/user-attachments/assets/d0f309f6-008b-4061-b0f5-4911792f8b9a)

### Steps to reproduce

`dotnet new web --language F#` and try use `builder.Services.AddHttpClient` and tab for suggestions... no correct suggestion appears

### Details

Expected Behaviour: correct `open namespace` suggestions show up for any Microsoft.Extensions.DependencyInjection or similar regular dependencies for aspnet projects

### Logs

_No response_

### Checklist

- [x] I have looked through existing issues to make sure that this bug has not been reported before
- [x] I have provided a descriptive title for this issue
- [x] I have made sure that that this bug is reproducible on the latest version of the package
- [x] I have provided all the information needed to reproduce this bug as efficiently as possible
- [x] I or my company would be willing to contribute this fix

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.